summaryrefslogtreecommitdiff
path: root/roundcubemail/installer/index.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-25 23:03:54 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-25 23:03:54 +0000
commitb7a00e1ed4d934703d64fd5b8db0a978f8f7f0c5 (patch)
tree0a74f44538e7b53b7b1225f6a9139d03ffe3766a /roundcubemail/installer/index.php
parent62baf7e729439381adcca2a24ce8d43d3f9aec33 (diff)
More installer stuff
git-svn-id: https://svn.roundcube.net/trunk@1139 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/installer/index.php')
-rw-r--r--roundcubemail/installer/index.php7
1 files changed, 6 insertions, 1 deletions
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 @@
<title>RoundCube Webmail Installer</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="styles.css" />
+<script type="text/javascript" src="client.js"></script>
</head>
<body>
@@ -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();
?>