에러 반환 타입 수정

This commit is contained in:
2019-04-21 01:47:01 +09:00
parent 51da0bd7b7
commit dc6a35d656
+2 -1
View File
@@ -33,7 +33,8 @@ function Error($message='', $url="")
if (!$url) {
$url = $_SERVER['REQUEST_URI'];
}
file_put_contents(__dir__."/logs/".UniqueConst::$serverID."/_db_bug.txt", "{\"url\":\"$url\",\"msg\":\"$message\"}\n", FILE_APPEND);
$e = new \Exception();
logError("aux_err", $message, getExceptionTraceAsString($e));
$templates = new \League\Plates\Engine(__dir__.'/templates');