From c5042d468e605a7ec9bb6883ba721c8fd222b4ec Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Mon, 25 Feb 2008 18:03:54 -0500
Subject: [PATCH] More installer stuff

---
 installer/index.php |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/installer/index.php b/installer/index.php
index a7959e4..d62f6cb 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();
 
 ?>
 

--
Gitblit v1.9.1