Ejemplo n.º 1
0
 function __construct($pathApplication = '', $pathCore = '', $configHost = '')
 {
     org_glizy_Paths::init($pathApplication, $pathCore);
     org_glizy_Paths::add('APPLICATION_TO_ADMIN', org_glizy_Paths::get('APPLICATION'));
     org_glizy_Paths::add('APPLICATION_TO_ADMIN_CACHE', org_glizy_Paths::get('APPLICATION') . '../cache/');
     parent::__construct($pathApplication, $pathCore, $configHost);
 }
Ejemplo n.º 2
0
 function __construct($pathApplication = '', $pathCore = '', $pathApplicationToAdmin = '', $configHost = '')
 {
     $this->_pathApplicationToAdmin = $pathApplicationToAdmin;
     org_glizy_ObjectValues::set('org.glizy', 'admin', true);
     org_glizy_Paths::init($pathApplication, $pathCore);
     org_glizy_Paths::set('APPLICATION_MEDIA_ARCHIVE', $this->_pathApplicationToAdmin . 'mediaArchive/');
     // org_glizy_Paths::set('CACHE', $this->_pathCore.'../cache/');
     // org_glizy_Paths::set('CACHE_CODE', $this->_pathCore.'../cache/');
     // org_glizy_Paths::set('CACHE_IMAGES', $this->_pathCore.'../cache/');
     // org_glizy_Paths::set('STATIC_DIR', $this->_pathCore.'../static/');
     // org_glizy_Paths::set('CORE_STATIC_DIR', $this->_pathCore.'../static/org_glizy/');
     org_glizy_Paths::add('APPLICATION_TO_ADMIN', $this->_pathApplicationToAdmin);
     org_glizy_Paths::add('APPLICATION_TO_ADMIN_CACHE', $this->_pathApplicationToAdmin . '../cache/');
     org_glizy_Paths::add('APPLICATION_TO_ADMIN_PAGETYPE', $this->_pathApplicationToAdmin . 'pageTypes/');
     org_glizy_Paths::addClassSearchPath($this->_pathApplicationToAdmin . 'classes/');
     //if (org_glizy_Config::get('SESSION_PREFIX')=='') org_glizy_Config::set('SESSION_PREFIX', 'admin');
     parent::__construct($pathApplication, $pathCore, $configHost);
     $this->addEventListener(org_glizycms_contents_events_Menu::INVALIDATE_SITEMAP, $this);
 }