summaryrefslogtreecommitdiffstats
path: root/lib/general.lib.php
diff options
context:
space:
mode:
authorsigger <sigger@ampache>2006-01-08 18:15:09 +0000
committersigger <sigger@ampache>2006-01-08 18:15:09 +0000
commit373255aadcf56ca795c6fca0f41504ec4f468681 (patch)
tree292427d05d63d086c2790c09e3162df40008e85f /lib/general.lib.php
parent58d139eb26220d1faf7025f303fee735e883f344 (diff)
downloadampache-373255aadcf56ca795c6fca0f41504ec4f468681.tar.gz
ampache-373255aadcf56ca795c6fca0f41504ec4f468681.tar.bz2
ampache-373255aadcf56ca795c6fca0f41504ec4f468681.zip
(mostly) fixes ajax and nowplaying JS
Diffstat (limited to 'lib/general.lib.php')
-rw-r--r--lib/general.lib.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/general.lib.php b/lib/general.lib.php
index 983b4c12..0a308b64 100644
--- a/lib/general.lib.php
+++ b/lib/general.lib.php
@@ -81,6 +81,7 @@ function int2ip($i) {
@param $template Name of Template
*/
function show_template($template) {
+global $myMpd, $user;
/* Check for a 'Theme' template */
if (is_readable(conf('prefix') . conf('theme_path') . "/templates/$template".".inc")) {