/** * Base setup. * * @return void */ public static function register() { self::$map = self::map(); spl_autoload_register(array('ZLoader', 'autoload')); self::$autoloaders = new Zikula_KernelClassLoader(); self::$autoloaders->spl_autoload_register(); self::addAutoloader('Doctrine', ZLOADER_PATH . '/vendor/Doctrine'); self::addAutoloader('Categories', 'system/Categories/lib'); self::addAutoloader('Zend_Log', ZLOADER_PATH . '/vendor'); }