Welcome Guest, Not a member yet? Register   Sign In
master controller for common tasks?
#5

[eluser]InsiteFX[/eluser]
@cryogenix

You should leave Phil's name in the __autoload he is the one that wrote the autoloader code. Give reconition where it is do...

Code:
/*
| -------------------------------------------------------------------
|  Native Autoload - by Phil Sturgeon.
| -------------------------------------------------------------------
|
| Nothing to do with config/autoload.php, this allows PHP autoload to work
| for base controllers and some third-party libraries.
|
| If using HMVC you do not need this! HMVC will autoload.
|
| Place this code at the bottom of your application/config/config.php file.
*/
function __autoload($class)
{
    if (strpos($class, 'CI_') !== 0)
    {
        @include_once(APPPATH . 'core/' . $class . EXT);
    }
}

InsiteFX


Messages In This Thread
master controller for common tasks? - by El Forum - 04-11-2011, 11:57 PM
master controller for common tasks? - by El Forum - 04-12-2011, 12:18 AM
master controller for common tasks? - by El Forum - 04-12-2011, 01:44 AM
master controller for common tasks? - by El Forum - 04-12-2011, 02:17 AM
master controller for common tasks? - by El Forum - 04-12-2011, 06:08 AM
master controller for common tasks? - by El Forum - 04-12-2011, 12:06 PM
master controller for common tasks? - by El Forum - 04-12-2011, 08:05 PM
master controller for common tasks? - by El Forum - 04-14-2011, 03:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB