Make debug log filename configurable

This commit is contained in:
Kijin Sung 2016-02-15 14:28:57 +09:00
parent e1d85ffb22
commit 7c4fc37dd3
8 changed files with 50 additions and 6 deletions

View file

@ -408,7 +408,7 @@ class Debug
{
// Collect debug information.
$data = (object)array(
'timestamp' => DateTime::formatTimestampForCurrentUser('Y-m-d H:i:s P', RX_TIME),
'timestamp' => DateTime::formatTimestamp('Y-m-d H:i:s', RX_TIME),
'url' => getCurrentPageUrl(),
'request' => (object)array(
'method' => $_SERVER['REQUEST_METHOD'] . ($_SERVER['REQUEST_METHOD'] !== \Context::getRequestMethod() ? (' (' . \Context::getRequestMethod() . ')') : ''),