forked from devsam/core
에러 반환 타입 수정
This commit is contained in:
+2
-1
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user