소스 검색

统计提交

walkor 11 년 전
부모
커밋
e88141d8f9
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      applications/Statistics/Modules/admin.php

+ 2 - 2
applications/Statistics/Modules/admin.php

@@ -110,9 +110,9 @@ function admin()
 
 function saveServerIpListToCache()
 {
-    foreach(glob(ST_ROOT . '/Config/*.iplist.cache.php') as $php_file)
+    foreach(glob(ST_ROOT . '/Config/Cache/*.iplist.cache.php') as $php_file)
     {
         unlink($php_file);
     }
-    file_put_contents(ST_ROOT . '/Config/'.time().'.iplist.cache.php', "<?php\n\\Statistics\\Lib\\Cache::\$ServerIpLis=".var_export(\Statistics\Lib\Cache::$ServerIpList,true).';');
+    file_put_contents(ST_ROOT . '/Config/Cache/'.time().'.iplist.cache.php', "<?php\n\\Statistics\\Lib\\Cache::\$ServerIpLis=".var_export(\Statistics\Lib\Cache::$ServerIpList,true).';');
 }