summaryrefslogtreecommitdiff
path: root/mail/roundcube/patches/patch-ac
blob: e92d9f38abb86ebdda43e4a39c52cc1c45ee829c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.7 2013/06/15 16:08:09 taca Exp $

Honor PKG_SYSCONFDIR.

--- installer/index.php.orig	2013-04-15 20:42:59.000000000 +0000
+++ installer/index.php
@@ -41,7 +41,7 @@ ini_set('display_errors', 1);
 
 define('INSTALL_PATH', realpath(dirname(__FILE__) . '/../').'/');
 define('RCUBE_INSTALL_PATH', INSTALL_PATH);
-define('RCUBE_CONFIG_DIR', INSTALL_PATH . 'config/');
+define('RCMAIL_CONFIG_DIR', '@PKG_SYSCONFDIR@');
 
 $include_path  = INSTALL_PATH . 'program/lib' . PATH_SEPARATOR;
 $include_path .= INSTALL_PATH . 'program/include' . PATH_SEPARATOR;