summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-22 16:47:22 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-22 16:47:22 +0000
commit472072028560aa178211ae248fc0dad4526533c7 (patch)
tree247111303a40c5e07fad73d10a3b4aff868c7c8d /index.php
parentb337d84d9af8a7db8e0171c9c0f4bedeae0ef05e (diff)
downloadampache-472072028560aa178211ae248fc0dad4526533c7.tar.gz
ampache-472072028560aa178211ae248fc0dad4526533c7.tar.bz2
ampache-472072028560aa178211ae248fc0dad4526533c7.zip
corrected ajax but introduced with prototype, tweaked how ajax stuff is done, now uses ajax:: class also replaced player with a logout icon
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.php b/index.php
index 117c0c5c..b93d327b 100644
--- a/index.php
+++ b/index.php
@@ -31,11 +31,13 @@ $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');
- /* Can't have the &amp; stuff in the Javascript */
+
$ajax_url = str_replace("&amp;","&",$ajax_url);
require_once Config::get('prefix') . '/templates/javascript_refresh.inc.php';
+*/
}
require_once Config::get('prefix') . '/templates/show_index.inc.php';