示例#1
0
文件: Logger.php 项目: c15k0/psfs
 /**
  * Método que construye el nombre del logger
  * @param Config $config
  *
  * @return string
  */
 private function setLoggerName(Config $config)
 {
     $logger = $config->get("platform_name") ?: self::DEFAULT_NAMESPACE;
     $logger = $this->cleanLoggerName($logger);
     return $logger;
 }
示例#2
0
文件: Dispatcher.php 项目: psfs/Core
 private function redirectToHome()
 {
     Request::getInstance()->redirect($this->router->getRoute($this->config->get('home_action')));
 }