Welcome Guest, Not a member yet? Register   Sign In
Login System - Code Igniter just makes things excessively complex..
#19

[eluser]InsiteFX[/eluser]
It's true and it is not documented!

Example:
Saveas - application/core/MY_Controller.php
Code:
class Application extends CI_Controller {

    public function __construct()
    {
        parent::__construct();
    }
}

saveas - application/controllers/home.php
Code:
class Home extends Application {

    public __construct()
    {
        parent::__construct();
    }
}

The important thing is the the file is saved as MY_Controller.php

You will need the config autoload in application/config/config.php

I learned this from Adam Griffins a long time ago.

InsiteFX


Messages In This Thread
Login System - Code Igniter just makes things excessively complex.. - by El Forum - 04-15-2011, 03:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB