summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-24 02:09:07 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-24 02:09:07 +0000
commit0f9c1f245c35e533171cda4b433718f24ca8a707 (patch)
tree5e6088588bbedf88c8016dc08dfa7d6fbb514512 /index.php
parent78661866532f77e66d46a1f81c33739dfa0f20f3 (diff)
downloadampache-0f9c1f245c35e533171cda4b433718f24ca8a707.tar.gz
ampache-0f9c1f245c35e533171cda4b433718f24ca8a707.tar.bz2
ampache-0f9c1f245c35e533171cda4b433718f24ca8a707.zip
fixed nowplaying refresh
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/index.php b/index.php
index b93d327b..a7c3e852 100644
--- a/index.php
+++ b/index.php
@@ -31,13 +31,9 @@ $action = scrub_in($_REQUEST['action']);
* going to let them break their servers
*/
if (Config::get('refresh_limit') > 5) {
-/*
$refresh_limit = Config::get('refresh_limit');
- $ajax_url = Config::get('ajax_url') . '?action=reloadnp' . Config::get('ajax_info');
-
- $ajax_url = str_replace("&amp;","&",$ajax_url);
+ $ajax_url = Config::get('ajax_url') . '?action=reloadnp';
require_once Config::get('prefix') . '/templates/javascript_refresh.inc.php';
-*/
}
require_once Config::get('prefix') . '/templates/show_index.inc.php';