예제 #1
0
 /**
  * 重置配置参数
  */
 public static function reset($range = '')
 {
     $range = $range ?: self::$range;
     true === $range ? self::$config = [] : (self::$config[$range] = []);
 }
예제 #2
0
파일: Config.php 프로젝트: HXFY/think
 /**
  * 重置配置参数
  */
 public static function reset($range = '')
 {
     $range = $range ?: self::$range;
     if (true === $range) {
         self::$config = [];
     } else {
         self::$config[$range] = [];
     }
 }
예제 #3
0
파일: config.php 프로젝트: guozqiu/think
 public static function reset($name, $value = null, $range = '')
 {
     self::$config = [];
 }