From b7a00e1ed4d934703d64fd5b8db0a978f8f7f0c5 Mon Sep 17 00:00:00 2001 From: thomasb Date: Mon, 25 Feb 2008 23:03:54 +0000 Subject: More installer stuff git-svn-id: https://svn.roundcube.net/trunk@1139 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/installer/index.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'roundcubemail/installer/index.php') diff --git a/roundcubemail/installer/index.php b/roundcubemail/installer/index.php index a7959e48c..d62f6cb9d 100644 --- a/roundcubemail/installer/index.php +++ b/roundcubemail/installer/index.php @@ -5,6 +5,7 @@ RoundCube Webmail Installer + @@ -27,8 +28,12 @@ ini_set('display_errors', 1); + $docroot = realpath(dirname(__FILE__) . '/../'); + $include_path = $docroot . '/program/lib' . PATH_SEPARATOR . $docroot . '/program' . PATH_SEPARATOR . ini_get('include_path'); + set_include_path($include_path); + require_once 'rcube_install.php'; - $RCI = new rcube_install(); + $RCI = rcube_install::get_instance(); ?> -- cgit v1.2.3