From a2c471bd18fb5e38763bb0dfd563aca3a54aed1b Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Tue, 25 Dec 2007 02:47:56 +0000 Subject: reimplemented the session function check --- lib/log.lib.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/log.lib.php') 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 */ -- cgit