Пример #1
0
 /**
  * Initialize configure info
  */
 protected function initConf()
 {
     $confs = array((defined('CONF_ROOT') ? CONF_ROOT : $this->getDir('conf')) . '/wisphp.conf.php');
     Conf::load($confs);
     $this->debug = Conf::get('wisphp.debug', self::APP_DEBUG_MANUAL);
     $this->encoding = strtoupper(Conf::get('wisphp.encoding', $this->encoding));
 }