Namespace 실수 해결.

수동 Event 등록시 Date가 아니라 date로 입력했던 문제 해결
This commit is contained in:
2018-04-01 23:44:52 +09:00
parent a70bf667a4
commit 0cac139f65
7 changed files with 10 additions and 5 deletions
+2 -2
View File
@@ -1408,7 +1408,7 @@ function updateTraffic() {
'maxonline'=>$game['maxonline']
], true);
$db->update('general', ['refresh'=>0]);
$db->update('general', ['refresh'=>0], true);
$date = date('Y-m-d H:i:s');
$fp = fopen("logs/_traffic.txt", "a");
@@ -1662,7 +1662,7 @@ function checkTurn($connect) {
// 이벤트 핸들러 동작
foreach (DB::db()->query('SELECT * from event') as $rawEvent) {
$eventID = $rawEvent['id'];
$cond = Json::decode($rawEvent['cond']);
$cond = Json::decode($rawEvent['condition']);
$action = Json::decode($rawEvent['action']);
$event = new Event\EventHandler($cond, $action);