diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-25 02:47:56 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-25 02:47:56 +0000 |
commit | a2c471bd18fb5e38763bb0dfd563aca3a54aed1b (patch) | |
tree | c110bd8da54fd0006cd2f32ea2f1c32f9582395b /lib/log.lib.php | |
parent | 74ff21838d600bc36014953db8e6c51db7ce33a4 (diff) | |
download | ampache-a2c471bd18fb5e38763bb0dfd563aca3a54aed1b.tar.gz ampache-a2c471bd18fb5e38763bb0dfd563aca3a54aed1b.tar.bz2 ampache-a2c471bd18fb5e38763bb0dfd563aca3a54aed1b.zip |
reimplemented the session function check
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 */ |