summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-10-23 14:39:09 +0000
committerthomascube <thomas@roundcube.net>2005-10-23 14:39:09 +0000
commitf3b659935f3386c077746cd7a84770532ed0ec50 (patch)
treef396f50225366a1e3661580786cfde368454b10c /index.php
parentf619dedc5aa2020eeffa01e05feacedb043ccb66 (diff)
Added patches for default language and sorting function
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index a32fcea5d..d5b2db0e3 100644
--- a/index.php
+++ b/index.php
@@ -45,13 +45,13 @@
$INSTALL_PATH = './';
$OUTPUT_TYPE = 'html';
$JS_OBJECT_NAME = 'rcmail';
-$CURRENT_PATH=dirname($_SERVER['SCRIPT_FILENAME']);
+$CURRENT_PATH = dirname($_SERVER['SCRIPT_FILENAME']);
if ($CURRENT_PATH!='')
$CURRENT_PATH.='/';
// set environment first
-ini_set('include_path', $INSTALL_PATH.PATH_SEPARATOR.$CURRENT_PATH.'program'.PATH_SEPARATOR.$CURRENT_PATH.'program/lib'.PATH_SEPARATOR.ini_get('include_path'));
+ini_set('include_path', ini_get('include_path').PATH_SEPARATOR.$INSTALL_PATH.PATH_SEPARATOR.$CURRENT_PATH.'program'.PATH_SEPARATOR.$CURRENT_PATH.'program/lib');
ini_set('session.name', 'sessid');
ini_set('session.use_cookies', 1);
ini_set('error_reporting', E_ALL&~E_NOTICE);