陈德本 8 years ago
parent
commit
99e27fb49a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      App/Script/Controller/Server.php

+ 2 - 2
App/Script/Controller/Server.php

@@ -81,8 +81,8 @@ class Server extends Controller
             }
             $str[]= "第" . $i . "次执行完毕\r\n\r\n";
             echo implode("\r\n", $str);
-            file_put_contents("/home/wwwroot/phplife.net/update.txt", implode("\r\n", $str),FILE_APPEND);
-            file_put_contents("/home/wwwroot/phplife.net/dns.txt", var_export($recode_data));
+            file_put_contents("/root/update.txt", implode("\r\n", $str),FILE_APPEND);
+            file_put_contents("/root/dns.txt", var_export($recode_data));
             $i++;
             sleep(60);
         }