PrintElapsedTime 제거

This commit is contained in:
2018-04-27 23:40:50 +09:00
parent 647c51fe0f
commit 5ed31881e6
33 changed files with 1 additions and 44 deletions
-8
View File
@@ -26,7 +26,6 @@ include "MYDB.php";
// 각종 변수
define('STEP_LOG', true);
define('PROCESS_LOG', true);
$_startTime = microtime(true);
ob_start();
session_cache_limiter('nocache');//NOTE: 캐시가 가능하도록 설정해야 할 수도 있음. 주의!
@@ -55,13 +54,6 @@ function MessageBox($str)
echo "<script>alert('$str');</script>";
}
function PrintElapsedTime()
{
global $_startTime;
$_endTime = round(microtime(true) - $_startTime, 3);
echo "<table width=1000 align=center style=font-size:10px;><tr><td align=right>경과시간 : {$_endTime}초</td></tr></table>";
}
function LogText($prefix, $variable)
{
$text = sprintf('%s : %s'."\n", $prefix, var_export($variable, true));