diff options
Diffstat (limited to 'lib/log.lib.php')
-rw-r--r-- | lib/log.lib.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/log.lib.php b/lib/log.lib.php index 83786c67..e7e9510a 100644 --- a/lib/log.lib.php +++ b/lib/log.lib.php @@ -89,6 +89,10 @@ function ampache_error_handler($errno, $errstr, $errfile, $errline) { return false; } + if (strstr($errstr,"date.timezone")) { + $errstr = "You have not set a timezone (date.timezone) in your php.ini file. Please set it."; + } + /* The XML-RPC lib is broken, well kind of * shut your pie hole */ |