Пример #1
0
 public function init()
 {
     parent::init();
     $cfg = oxRegistry::getConfig();
     $this->_sExLog = $cfg->getConfigParam('sShopDir') . 'log/EXCEPTION_LOG.txt';
     $this->_sErrLog = $cfg->getConfigParam('s_vtDev_serverLogPath') ? $cfg->getConfigParam('s_vtDev_serverLogPath') : false;
     //$this->_sSqlLog = ($cfg->getConfigParam('bSqlLog')) ? $cfg->getConfigParam('sSqlLog') : false;
     //$this->_sMailsLog = ($cfg->getConfigParam('bMailLog')) ? $cfg->getConfigParam('sMailLog') : false;
     if (substr($this->_sErrLog, 0, 1) !== "/") {
         $this->_sErrLog = $cfg->getConfigParam('sShopDir') . $this->_sErrLog;
     }
     // relative path for webserver error log?
 }
 /**
  * Parent `init` call. Method required for mocking.
  *
  * @codeCoverageIgnore
  *
  * @return null
  */
 protected function _Admin_oxpsModuleGenerator_init_parent()
 {
     return parent::init();
 }
Пример #3
0
 public function init()
 {
     parent::init();
     $this->_oConf = $this->getConfig();
 }