summaryrefslogtreecommitdiffstats
path: root/lib/general.lib.php
diff options
context:
space:
mode:
authormomo-i <momo-i@ampache>2009-02-24 23:37:19 +0000
committermomo-i <momo-i@ampache>2009-02-24 23:37:19 +0000
commit96acc29016a3ded75dc955b28b1b76ad57366e29 (patch)
tree4731dadff28636f5ab236314645741413a80fc69 /lib/general.lib.php
parent0bdecac9476fecffc05c7a35c26045bac3233c0b (diff)
downloadampache-96acc29016a3ded75dc955b28b1b76ad57366e29.tar.gz
ampache-96acc29016a3ded75dc955b28b1b76ad57366e29.tar.bz2
ampache-96acc29016a3ded75dc955b28b1b76ad57366e29.zip
Added: lyrics get from getid3 (pls test by any mp3s)
Added: debug_print function (pre tag for print_r)
Diffstat (limited to 'lib/general.lib.php')
-rw-r--r--lib/general.lib.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/general.lib.php b/lib/general.lib.php
index 7b281145..13b9d1b6 100644
--- a/lib/general.lib.php
+++ b/lib/general.lib.php
@@ -519,4 +519,14 @@ if (!function_exists('getmxrr')) {
}
}
+/**
+ * debug_print
+ * print_r with <pre> tag
+ */
+function debug_print($var) {
+ echo "<pre>";
+ print_r($var);
+ echo "</pre>";
+}
+
?>