From cf71a4677eff547c9cedeb1871fc109ae181b0c2 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sat, 17 Mar 2007 16:30:41 -0400
Subject: [PATCH] Rebuild the complete interface to use ajax.

---
 interface/lib/config.inc.php |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/interface/lib/config.inc.php b/interface/lib/config.inc.php
index 3e94190..a78e5b5 100644
--- a/interface/lib/config.inc.php
+++ b/interface/lib/config.inc.php
@@ -27,13 +27,17 @@
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
+Header("Pragma: no-cache");
+Header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate");
+Header("Content-Type: text/html");
+
 ini_set('register_globals',0);
 
 $conf["app_title"] = "ISPConfig";
 $conf["app_version"] = "3.0.0";
 
 
-$conf["rootpath"]			= "D:\\server\\www\\ispconfig3\\interface";
+$conf["rootpath"]			= "D:\\server\\www\\ispconfig3_ajax\\interface";
 //$conf["rootpath"]			= "D:\\www\\ispconfig3\\interface";
 //$conf["rootpath"]			= "/home/www/ispconfig3/web/cms";
 
@@ -43,7 +47,7 @@
 
 
 define("DIR_TRENNER","\\");
-define("SERVER_ROOT","D:\\server\\www\\ispconfig3\\interface");
+define("SERVER_ROOT","D:\\server\\www\\ispconfig3_ajax\\interface");
 define("INCLUDE_ROOT",SERVER_ROOT.DIR_TRENNER."lib");
 define("CLASSES_ROOT",INCLUDE_ROOT.DIR_TRENNER."classes");
 
@@ -79,7 +83,7 @@
         Themes
 */
 
-$conf["theme"]									= 'grey';
+$conf["theme"]									= 'default';
 $conf["html_content_encoding"]	= 'text/html; charset=iso-8859-1';
 $conf["logo"] 									= 'themes/default/images/mydnsconfig_logo.gif';
 

--
Gitblit v1.9.1