From bba657e64ff3334ba2f64e88e977a6dc107d682d Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 19 Sep 2008 14:26:34 -0400
Subject: [PATCH] Made config files location configurable (#1485215)

---
 installer/test.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/installer/test.php b/installer/test.php
index 0edfcc9..ca7c7ad 100644
--- a/installer/test.php
+++ b/installer/test.php
@@ -3,8 +3,8 @@
 <h3>Check config files</h3>
 <?php
 
-$read_main = is_readable(INSTALL_PATH.'config/main.inc.php');
-$read_db = is_readable(INSTALL_PATH.'config/db.inc.php');
+$read_main = is_readable(RCMAIL_CONFIG_DIR.'/main.inc.php');
+$read_db = is_readable(RCMAIL_CONFIG_DIR.'/db.inc.php');
 
 if ($read_main && !empty($RCI->config)) {
   $RCI->pass('main.inc.php');

--
Gitblit v1.9.1