File roundcubemail-1.1-beta-config_dir.patch of Package roundcubemail

diff -Ppru roundcubemail-1.1-beta-dep.orig/installer/index.php roundcubemail-1.1-beta-dep/installer/index.php
--- roundcubemail-1.1-beta-dep.orig/installer/index.php	2014-11-10 20:54:51.000000000 +0100
+++ roundcubemail-1.1-beta-dep/installer/index.php	2015-01-02 19:49:03.914591933 +0100
@@ -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', '/etc/roundcubemail/');
 
 $include_path  = INSTALL_PATH . 'program/lib' . PATH_SEPARATOR;
 $include_path .= INSTALL_PATH . 'program/include' . PATH_SEPARATOR;
diff -Ppru roundcubemail-1.1-beta-dep.orig/program/include/iniset.php roundcubemail-1.1-beta-dep/program/include/iniset.php
--- roundcubemail-1.1-beta-dep.orig/program/include/iniset.php	2014-11-10 20:54:51.000000000 +0100
+++ roundcubemail-1.1-beta-dep/program/include/iniset.php	2015-01-02 19:50:06.909427933 +0100
@@ -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')) {
openSUSE Build Service is sponsored by