Ejemplo n.º 1
0
 /**
  * 返回配置文件中主机名对应的基础路径
  * @param string $name 主机名
  * @return string
  */
 public static function getConfigHost($name)
 {
     $host_list = tool::getGlobalConfig('host');
     return isset($host_list[$name]) ? $host_list[$name] : '';
 }