示例#1
0
文件: config.php 项目: helvete/resyst
 /**
  * Get config data
  *
  * @param  $valueName
  * @return PDO
  */
 public static function get($valueName)
 {
     if (empty(self::$_cache)) {
         self::$_cache = self::_loadConfig();
     }
     return !empty(self::$_cache[$valueName]) ? self::$_cache[$valueName] : null;
 }