Пример #1
0
 function __construct($isStartSession = true)
 {
     parent::__construct($isStartSession);
     $this->host = $_SERVER['HTTP_HOST'];
     $temHost = str_replace('.', '', $this->host);
     $this->sessionNamePrefix = 'makeigameSite_usersite' . $temHost . '_admin_';
 }
 function __construct($ThemeDirName = '')
 {
     parent::__construct();
     $this->setThemeDirName($ThemeDirName);
     $this->site_dir = $this->getConfig('siteDir');
     $this->site_current_url = current_url();
 }