Beispiel #1
0
 private static function config()
 {
     //加载访问应用的配置文件
     $files = tcphp\file::dir_list(CONFIG_PATH, 'php');
     foreach ($files as $key => $config_file) {
         if (is_file($config_file)) {
             C(require $config_file);
         }
     }
     //加载类映射配置
     $a = PHP_PATH . '/' . 'common/' . 'classmaps.php';
     self::$classmaps = (require $a);
 }
Beispiel #2
0
 public function file()
 {
     tcphp\file::createDir("C:\\Users\\mushu123\\Desktop\\asass\\asas");
 }