summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2005-10-14 07:58:24 +0000
committersvncommit <devs@roundcube.net>2005-10-14 07:58:24 +0000
commit2c12662ad4d408c4f64008aa7face310ab0df646 (patch)
treefe2653761208b6d8e8a3b6bc6d7b186d1251a971
parent5abfcc7244b06350b7985d470da1175667087e66 (diff)
even better include_path setting
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index f59820f25..b58b02fe5 100644
--- a/index.php
+++ b/index.php
@@ -51,7 +51,7 @@ if ($CURRENT_PATH!='')
$CURRENT_PATH.='/';
// set environment first
-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('include_path', $INSTALL_PATH.PATH_SEPARATOR.$CURRENT_PATH.'program'.PATH_SEPARATOR.$CURRENT_PATH.'program/lib'.PATH_SEPARATOR.ini_get('include_path'));
ini_set('session.name', 'sessid');
ini_set('session.use_cookies', 1);
ini_set('error_reporting', E_ALL&~E_NOTICE);