summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-11-12 07:57:11 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-11-12 07:57:11 +0000
commit229ae80fc9b3ae7157ff216330575efae5ec80b5 (patch)
treeb7f770eef0b8225dfbdffd44a203e12bcedd4ac5 /index.php
parentad05301d549924663370e447286f68b4c0ccdfde (diff)
downloadampache-229ae80fc9b3ae7157ff216330575efae5ec80b5.tar.gz
ampache-229ae80fc9b3ae7157ff216330575efae5ec80b5.tar.bz2
ampache-229ae80fc9b3ae7157ff216330575efae5ec80b5.zip
fixed the javascript refresh, broken when I moved to the conf ajax links
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index ad54d803..0b06892d 100644
--- a/index.php
+++ b/index.php
@@ -38,6 +38,8 @@ $action = scrub_in($_REQUEST['action']);
*/
if (conf('refresh_limit') > 5) {
$ajax_url = conf('ajax_url') . '?action=reloadnp' . conf('ajax_info');
+ /* Can't have the &amp; stuff in the Javascript */
+ $ajax_url = str_replace("&amp;","&",$ajax_url);
require_once(conf('prefix') . '/templates/javascript_refresh.inc.php');
}
?>