summaryrefslogtreecommitdiff
path: root/installer/index.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-02-25 23:03:54 +0000
committerthomascube <thomas@roundcube.net>2008-02-25 23:03:54 +0000
commitc5042d468e605a7ec9bb6883ba721c8fd222b4ec (patch)
tree739a31c581dfa6f274b93b0d5582242cddc3582c /installer/index.php
parente8a89e8f4c32e19e46479f527c5392d18b84c62f (diff)
More installer stuff
Diffstat (limited to 'installer/index.php')
-rw-r--r--installer/index.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/installer/index.php b/installer/index.php
index a7959e48c..d62f6cb9d 100644
--- a/installer/index.php
+++ b/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();
?>