게임 오픈 시 logs에 서브 디렉토리를 사용하도록 변경
This commit is contained in:
1 parent
3d9f38f1e3
commit
0e95259b14
7 files changed
+60
-27
No files matched your search
+1
-1
@@ -35,7 +35,7 @@ function Error($message='', $url="")
|
||||
if (!$url) {
|
||||
$url = $_SERVER['REQUEST_URI'];
|
||||
}
|
||||
file_put_contents(__dir__."/logs/_db_bug.txt", "{\"url\":\"$url\",\"msg\":\"$message\"}\n", FILE_APPEND);
|
||||
file_put_contents(__dir__."/logs/".UniqueConst::$serverID."/_db_bug.txt", "{\"url\":\"$url\",\"msg\":\"$message\"}\n", FILE_APPEND);
|
||||
|
||||
$templates = new \League\Plates\Engine(__dir__.'/templates');
|
||||
|
||||
|
||||
Reference in new issue
Block a user