Welcome Guest, Not a member yet? Register   Sign In
Default_controller in routes.php changed but nothing happens
#1

[eluser]ErwinVanHoof[/eluser]
Can someone help me out.
I'm having the following problem

I changed
-system
-application
-config
routes.php | Line 43
Code:
$route['default_controller'] = "welcome";
to
Code:
$route['default_controller'] = "pages";

created the pages.php in
-system
-application
-controllers
Code:
<?php

class Pages extends Controller {

    function Pages  ()
    {
        parent::Controller();
    }
    
    function index()
    {
        die('here');
    }

}

?>

but this does not seem to work, it works obly when I type the complete url http://localhost/pages/

Using CI 1.6.2 on a WAMP server 2 | Apache 2.0.63 | PHP 4.4.8

Could this be a caching problem ?


Messages In This Thread
Default_controller in routes.php changed but nothing happens - by El Forum - 06-20-2008, 05:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB