Пример #1
0
 function __construct()
 {
     parent::__construct();
     $this->cache = org_glizy_ObjectFactory::createObject('org.glizy.cache.CacheFunction', $this, __Config::get('glizycms.sitemap.cacheLife'), false, __Paths::getRealPath('APPLICATION_TO_ADMIN_CACHE'));
 }
Пример #2
0
 function __construct($source = NULL)
 {
     parent::__construct();
     $this->_source = is_null($source) ? org_glizy_Paths::getRealPath('APPLICATION', org_glizy_Config::get('SITEMAP')) : $source;
 }