summaryrefslogtreecommitdiff
path: root/mail/roundcube/patches/patch-ac
blob: 0d605fe7b3cb382df82e3ac853474ced69a5c582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.10 2015/02/16 15:33:32 adam Exp $

Honor PKG_SYSCONFDIR.

--- installer/index.php.orig	2015-02-08 13:48:55.000000000 +0000
+++ installer/index.php
@@ -41,7 +41,7 @@ ini_set('display_errors', 1);
 
 define('INSTALL_PATH', realpath(__DIR__ . '/../').'/');
 define('RCUBE_INSTALL_PATH', INSTALL_PATH);
-define('RCUBE_CONFIG_DIR', INSTALL_PATH . 'config/');
+define('RCUBE_CONFIG_DIR', '@PKG_SYSCONFDIR@/');
 
 $include_path  = INSTALL_PATH . 'program/lib' . PATH_SEPARATOR;
 $include_path .= INSTALL_PATH . 'program/include' . PATH_SEPARATOR;