walkor 11 年之前
父节点
当前提交
dbc13e7f4c
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      applications/Statistics/Modules/admin.php
  2. 1 1
      applications/Statistics/Web/index.php

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

@@ -88,7 +88,7 @@ function admin()
                     }
                 }
             }
-            $suc_msg = "添加成功";
+            $suc_msg = "保存成功";
             foreach(\Statistics\Lib\Cache::$ServerIpList as $ip)
             {
                 $ip_list_str .= $ip."\r\n";

+ 1 - 1
applications/Statistics/Web/index.php

@@ -19,7 +19,7 @@ if(!function_exists($func))
 $module = isset($_GET['module']) ? $_GET['module'] : '';
 $interface = isset($_GET['interface']) ? $_GET['interface'] : '';
 $date = isset($_GET['date']) ? $_GET['date'] : date('Y-m-d');
-$start_time = isset($_GET['start_time']) ? $_GET['start_time'] : date('Y-m-d');
+$start_time = isset($_GET['start_time']) ? $_GET['start_time'] : strtotime(date('Y-m-d'));
 $offset =  isset($_GET['offset']) ? $_GET['offset'] : 0; 
 $count =  isset($_GET['count']) ? $_GET['count'] : 10; 
 call_user_func_array($func, array($module, $interface, $date, $start_time, $offset, $count));