diff options
author | thomascube <thomas@roundcube.net> | 2008-04-12 13:54:45 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-04-12 13:54:45 +0000 |
commit | 47124c2279382714afd8dbe4a867a867ea179199 (patch) | |
tree | 9ce67f4521f466d8718604a23d74de1786189efd /bin/msgexport.sh | |
parent | b00bd0f27d1c066d04fc8124c3a35465a5933ab1 (diff) |
Changed codebase to PHP5 with autoloader + added some new classes from the devel-vnext branch
Diffstat (limited to 'bin/msgexport.sh')
-rwxr-xr-x | bin/msgexport.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/msgexport.sh b/bin/msgexport.sh index 616895561..890d48a06 100755 --- a/bin/msgexport.sh +++ b/bin/msgexport.sh @@ -1,14 +1,10 @@ #!/usr/bin/php -qC <?php -$CWD = $INSTALL_PATH = preg_replace('/bin\/$/', '', getcwd() . '/'); -ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . $CWD.'program/'); +define('INSTALL_PATH', preg_replace('/bin\/$/', '', getcwd()) . '/'); ini_set('memory_limit', -1); -require_once('include/rcube_shared.inc'); -require_once('include/rcube_imap.inc'); -require_once('include/main.inc'); -require_once('include/bugs.inc'); +require_once INSTALL_PATH.'program/include/iniset.php'; /** * Parse commandline arguments into a hash array |