From 321302e52788e79c3548adde8d66f8ad426c9591 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 07 Jul 2006 13:34:45 -0400
Subject: [PATCH] Fixed INSTALL_PATH bug #1425663
---
index.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.php b/index.php
index 88c7120..33f28c0 100644
--- a/index.php
+++ b/index.php
@@ -40,13 +40,13 @@
*/
-define('RCMAIL_VERSION', '0.1-20060505');
+define('RCMAIL_VERSION', '0.1-20060707');
// define global vars
$CHARSET = 'UTF-8';
$OUTPUT_TYPE = 'html';
$JS_OBJECT_NAME = 'rcmail';
-$INSTALL_PATH = dirname($_SERVER['SCRIPT_FILENAME']);
+$INSTALL_PATH = dirname(__FILE__);
$MAIN_TASKS = array('mail','settings','addressbook','logout');
if (empty($INSTALL_PATH))
--
Gitblit v1.9.1