diff options
| author | sparc <sparc@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2005-10-25 15:04:17 +0000 |
|---|---|---|
| committer | sparc <sparc@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2005-10-25 15:04:17 +0000 |
| commit | 245939ed7116e018fb877fcd4f4a129eade9423c (patch) | |
| tree | 79ad707eacc1cf82f7fe0b2a5992ca1e39f447af /roundcubemail/index.php | |
| parent | 5816625cc300075c43c6ef43a200dd35e1b8257d (diff) | |
more pear/mdb2 integration
git-svn-id: https://svn.roundcube.net/trunk@58 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/index.php')
| -rw-r--r-- | roundcubemail/index.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php index d5b2db0e3..c80100a33 100644 --- a/roundcubemail/index.php +++ b/roundcubemail/index.php @@ -51,17 +51,19 @@ 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'); +// RC include folders MUST be included FIRST to avoid other +// possible not compatible libraries (i.e PEAR) to be included +// instead the ones provided by RC +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); - // increase maximum execution time for php scripts // (does not work in safe mode) @set_time_limit('120'); - // include base files require_once('include/rcube_shared.inc'); require_once('include/rcube_imap.inc'); |
