diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-07-07 22:01:58 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-07-07 22:01:58 +0000 |
commit | 11045eba69835dd68edfdf2988dcb4bb44549a5f (patch) | |
tree | 8d216423b6a99c722441dd7c6f0b175ad25ff7e3 /lib/log.lib.php | |
parent | 2d62be1359e75514157740a308aef696e485a1ee (diff) | |
download | ampache-11045eba69835dd68edfdf2988dcb4bb44549a5f.tar.gz ampache-11045eba69835dd68edfdf2988dcb4bb44549a5f.tar.bz2 ampache-11045eba69835dd68edfdf2988dcb4bb44549a5f.zip |
adjust the wording on the timezone error
Diffstat (limited to 'lib/log.lib.php')
-rw-r--r-- | lib/log.lib.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/log.lib.php b/lib/log.lib.php index a1798e3a..b0e06745 100644 --- a/lib/log.lib.php +++ b/lib/log.lib.php @@ -90,7 +90,8 @@ function ampache_error_handler($errno, $errstr, $errfile, $errline) { } if (strstr($errstr,"date.timezone")) { - $errstr = "You have not set a timezone (date.timezone) in your php.ini file. Please set it. This error is non-critical, and not caused by Ampache."; + $error_name = "Warning"; + $errstr = "You have not set a valid timezone (date.timezone) in your php.ini file. This may cause display issues with dates. This warning is non-critical and not caused by Ampache."; } /* The XML-RPC lib is broken, well kind of @@ -101,7 +102,7 @@ function ampache_error_handler($errno, $errstr, $errfile, $errline) { } $log_line = "[$error_name] $errstr on line $errline in $errfile"; - debug_event('error',$log_line,$level); + debug_event('PHP Error',$log_line,$level); } // ampache_error_handler |