Welcome Guest, Not a member yet? Register   Sign In
Package Autoload
#1

How exactly does it work?

I have created several Enumerations and placed them in application/third_party/Enum and have created an autoloader class for loading them. There is another file index.php in in the third_party folder which instantiates the autoloader.

Both of these fail to work:
PHP Code:
$autoload['packages'] = array(APPPATH.'third_party');
$autoload['packages'] = array(APPPATH.'third_party'DIRECTORY_SEPARATOR .'index.php'); 
Reply




Theme © iAndrew 2016 - Forum software by © MyBB