From 472072028560aa178211ae248fc0dad4526533c7 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sun, 22 Jul 2007 16:47:22 +0000 Subject: corrected ajax but introduced with prototype, tweaked how ajax stuff is done, now uses ajax:: class also replaced player with a logout icon --- index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'index.php') 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 & stuff in the Javascript */ + $ajax_url = str_replace("&","&",$ajax_url); require_once Config::get('prefix') . '/templates/javascript_refresh.inc.php'; +*/ } require_once Config::get('prefix') . '/templates/show_index.inc.php'; -- cgit