require_once SYSTEMPATH . 'Modules/Modules.php';
require_once APPPATH . 'Config/Modules.php';
}require_once SYSTEMPATH . 'Autoloader/Autoloader.php';
require_once SYSTEMPATH . 'Config/BaseService.php';
require_once SYSTEMPATH . 'Config/Services.php';
require_once APPPATH . 'Config/Services.php';
// Initialize and register the loader with the SPL autoloader stack.
Services::
autoloader()->
initialize(new Autoload(),
new Modules())->
register();
Services::
autoloader()->
loadHelpers();
// Now load Composer's if it's available
if (is_file(COMPOSER_PATH
)) { /*
* The path to the vendor directory.
*
* We do not want to enforce this, so set the constant if Composer was used.
*/
if (!
defined('VENDORPATH'
)) { define('VENDORPATH',
dirname(COMPOSER_PATH
) . DIRECTORY_SEPARATOR
);
}