]> git.donarmstrong.com Git - roundcube.git/blobdiff - debian/patches/correct_install_path.patch
Refresh all patches.
[roundcube.git] / debian / patches / correct_install_path.patch
index 1b134027dd4bd89bd2ccfa1636c2b22a2eda7314..8970045b70c7fe746d884293dcaeeeae8229bd0a 100644 (file)
@@ -1,11 +1,15 @@
---- roundcube-0.1~beta2.2/index.php    2006-12-22 23:26:24.000000000 +0100
-+++ roundcube-0.1~beta2.2/index.php    2007-03-13 15:36:21.000000000 +0100
-@@ -46,7 +46,7 @@
- $CHARSET = 'UTF-8';
- $OUTPUT_TYPE = 'html';
- $JS_OBJECT_NAME = 'rcmail';
--$INSTALL_PATH = dirname(__FILE__);
-+$INSTALL_PATH = '/var/lib/roundcube';
- $MAIN_TASKS = array('mail','settings','addressbook','logout');
+Install path is /var/lib/roundcube for Debian. Don't try to guess it.
+
+Index: roundcube/program/include/iniset.php
+===================================================================
+--- roundcube.orig/program/include/iniset.php  2012-09-29 11:30:58.643126935 +0200
++++ roundcube/program/include/iniset.php       2012-09-29 11:31:44.360041205 +0200
+@@ -43,7 +43,7 @@
+ define('RCMAIL_START', microtime(true));
  
- if (empty($INSTALL_PATH))
+ if (!defined('INSTALL_PATH')) {
+-    define('INSTALL_PATH', dirname($_SERVER['SCRIPT_FILENAME']).'/');
++    define('INSTALL_PATH', '/var/lib/roundcube/');
+ }
+ if (!defined('RCMAIL_CONFIG_DIR')) {