mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Revert "set default time zone for date"
This commit is contained in:
+1
-2
@@ -6,8 +6,7 @@ if (empty($ERRORLOG)) {
|
||||
}
|
||||
|
||||
function pi_log($message) {
|
||||
$date = exec("date +'%Y-%m-%d %H:%M:%S'");
|
||||
error_log($date . ': ' . $message . "\n", 3, $GLOBALS['ERRORLOG']);
|
||||
error_log(date('Y-m-d H:i:s') . ': ' . $message . "\n", 3, $GLOBALS['ERRORLOG']);
|
||||
}
|
||||
|
||||
function log_and_die($message) {
|
||||
|
||||
Reference in New Issue
Block a user