Welcome Guest, Not a member yet? Register   Sign In
"Require_Once" Help Please
#1

[eluser]razerone[/eluser]
Hi.

I have a module in my application / module folder/ install

I need that to require_once('application/module/install'); I got it to work but every time I click on my domain name it goes to that page.

I have a view controller that it goes to once installed it will go to a folder called install complete I have a controller & view for that. On the view I have a link saying to to home page Once I click on that I would like it to some how disable the require once from index.php page. And only works when up load it to new server.

Any ideas.

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

class Stage3 extends CI_Controller {

function index() {
$this->load->view('header');
$this->load->view('stage3');
$this->load->view('footer');
}
}


Messages In This Thread
"Require_Once" Help Please - by El Forum - 10-17-2013, 06:17 AM
"Require_Once" Help Please - by El Forum - 10-17-2013, 06:40 AM
"Require_Once" Help Please - by El Forum - 10-17-2013, 07:06 AM
"Require_Once" Help Please - by El Forum - 10-17-2013, 07:13 AM
"Require_Once" Help Please - by El Forum - 10-17-2013, 07:23 AM
"Require_Once" Help Please - by El Forum - 10-17-2013, 08:02 AM
"Require_Once" Help Please - by El Forum - 10-17-2013, 08:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB