stanley-king 1 năm trước cách đây
mục cha
commit
0d4e6e031f
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      admin/index.php

+ 6 - 1
admin/index.php

@@ -32,8 +32,13 @@ define('BASE_TPL_PATH',BASE_PATH.'/templates/'.TPL_NAME);
 
 if (!@include(BASE_PATH.'/control/control.php')) exit('control.php isn\'t exists!');
 include(BASE_CONFIG_PATH . CONFIG_PREFIX . '/refill.ini.php');
+
+
+
 $start = microtime(true);
-Log::record("admin start", Log::DEBUG);
+
+$addr = $_SERVER['REMOTE_ADDR'];
+Log::record("admin start request ip:$addr", Log::DEBUG);
 Base::run();
 Log::record("admin end", Log::DEBUG);
 $msg = sprintf("admin request time=%.6f\r\n\r\n",microtime(true) - $start);