aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lam/lam-change-config-file-location.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lam/lam-change-config-file-location.patch')
-rw-r--r--testing/lam/lam-change-config-file-location.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/lam/lam-change-config-file-location.patch b/testing/lam/lam-change-config-file-location.patch
new file mode 100644
index 0000000000..0061538c85
--- /dev/null
+++ b/testing/lam/lam-change-config-file-location.patch
@@ -0,0 +1,11 @@
+--- a/lib/config.inc
++++ b/lib/config.inc
+@@ -1386,7 +1386,7 @@
+ * Loads preferences from config file
+ */
+ function __construct() {
+- $this->conffile = substr(__FILE__, 0, strlen(__FILE__) - 15) . "/config/config.cfg";
++ $this->conffile ="/etc/lam/config.cfg";
+ // set default values
+ $this->sessionTimeout = 30;
+ $this->logLevel = LOG_NOTICE;