I have a module in my application / modules / install

I need that to require_once('application/modules/install');

I got it to work but every time I click on my domain name it goes to that page.

I have a view and controller file for my last stage of install but need it so once I click on this link to there my home page I would like the require once in the index.php to be disabled. How to I fix this issue.

Any ideas. here is my controller.php file codeigniter.

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Stage3 extends CI_Controller {

function index() {