|
@@ -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!');
|
|
if (!@include(BASE_PATH.'/control/control.php')) exit('control.php isn\'t exists!');
|
|
include(BASE_CONFIG_PATH . CONFIG_PREFIX . '/refill.ini.php');
|
|
include(BASE_CONFIG_PATH . CONFIG_PREFIX . '/refill.ini.php');
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
$start = microtime(true);
|
|
$start = microtime(true);
|
|
-Log::record("admin start", Log::DEBUG);
|
|
|
|
|
|
+
|
|
|
|
+$addr = $_SERVER['REMOTE_ADDR'];
|
|
|
|
+Log::record("admin start request ip:$addr", Log::DEBUG);
|
|
Base::run();
|
|
Base::run();
|
|
Log::record("admin end", Log::DEBUG);
|
|
Log::record("admin end", Log::DEBUG);
|
|
$msg = sprintf("admin request time=%.6f\r\n\r\n",microtime(true) - $start);
|
|
$msg = sprintf("admin request time=%.6f\r\n\r\n",microtime(true) - $start);
|