/** * Module_Doctrine_Admin -> Execute */ public function _initializeModule() { // Path to Doctrine Library Doctrine_Core::setPath(ROOT_LIBRARIES . 'doctrine/'); /** * Setup Paths depending on a specific module or the core */ $bool = $this->request->issetParameter('modulename'); if (isset($bool)) { self::$options = self::setupDoctrinePaths($this->request->getParameterFromGet('modulename')); } else { self::$options = self::setupDoctrinePaths(); } self::$options += self::getDoctrineOptions(); }