forked from pool/roundcubemail
73ec261687
* Patch to point the installer to the SQL file location * Renamed * Fixed apache2 config to work with apache 2.4 OBS-URL: https://build.opensuse.org/request/show/213518 OBS-URL: https://build.opensuse.org/package/show/server:php:applications/roundcubemail?expand=0&rev=67
27 lines
964 B
Diff
27 lines
964 B
Diff
diff --git a/installer/index.php b/installer/index.php
|
|
index 0e80b1c..0123a70 100644
|
|
--- a/installer/index.php
|
|
+++ b/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('RCUBE_CONFIG_DIR', '/etc/roundcubemail/');
|
|
|
|
$include_path = INSTALL_PATH . 'program/lib' . PATH_SEPARATOR;
|
|
$include_path .= INSTALL_PATH . 'program/include' . PATH_SEPARATOR;
|
|
diff --git a/program/include/iniset.php b/program/include/iniset.php
|
|
index ca17640..b6da3a6 100644
|
|
--- a/program/include/iniset.php
|
|
+++ b/program/include/iniset.php
|
|
@@ -29,7 +29,7 @@ if (!defined('INSTALL_PATH')) {
|
|
}
|
|
|
|
if (!defined('RCMAIL_CONFIG_DIR')) {
|
|
- define('RCMAIL_CONFIG_DIR', INSTALL_PATH . 'config');
|
|
+ define('RCMAIL_CONFIG_DIR', '/etc/roundcubemail/');
|
|
}
|
|
|
|
if (!defined('RCUBE_LOCALIZATION_DIR')) {
|