summaryrefslogtreecommitdiffstats
path: root/lib/log.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-06-14 23:57:21 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-06-14 23:57:21 +0000
commit7db599b70d03cc288fcf499bebd9afb2485c930d (patch)
tree556e85f9baf10f2b1e845eec9cc098f22d2115cd /lib/log.lib.php
parentfed2041c7b15e30fd126d6b1290ba255d3ec5d1d (diff)
downloadampache-7db599b70d03cc288fcf499bebd9afb2485c930d.tar.gz
ampache-7db599b70d03cc288fcf499bebd9afb2485c930d.tar.bz2
ampache-7db599b70d03cc288fcf499bebd9afb2485c930d.zip
new vainfo which should solve the ogg with id3 tags issue and potentially break other things yeah!
Diffstat (limited to 'lib/log.lib.php')
-rw-r--r--lib/log.lib.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/log.lib.php b/lib/log.lib.php
index a82338f0..ed19984c 100644
--- a/lib/log.lib.php
+++ b/lib/log.lib.php
@@ -81,8 +81,11 @@ function ampache_error_handler($errno, $errstr, $errfile, $errline) {
break;
} // end switch
- /* Don't log var: Deprecated we know shutup! */
- if (strstr($errstr,"var: Deprecated. Please use the public/private/protected modifiers")) {
+ /* Don't log var: Deprecated we know shutup!
+ * Yea now getid3() spews errors I love it :(
+ */
+ if (strstr($errstr,"var: Deprecated. Please use the public/private/protected modifiers") OR
+ strstr($errstr,"getimagesize() [")) {
return false;
}