Пример #1
0
 /**
  * Initializes all modules in this application
  */
 protected function initModules()
 {
     parent::initModules();
     $this->title = sprintf('%s Admin', $this->config->site->title);
     // append instance name to secure base URIs
     if (substr($this->secure_base_uri, 0, 1) !== '/') {
         $this->base_uri = str_replace('/blorgy/', '/' . $_SERVER['SERVER_NAME'] . '/', $this->base_uri);
         $this->secure_base_uri = str_replace('/blorgy/', '/blorgy-' . $this->instance->getInstance()->shortname . '/', $this->secure_base_uri);
     }
     $this->theme->removePath('../themes');
     $this->theme->addPath('../../themes');
 }
Пример #2
0
 /**
  * Initializes all modules in this application
  */
 protected function initModules()
 {
     parent::initModules();
     $this->title = sprintf('%s Admin', $this->config->site->title);
 }