aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lam/lam-change-config-file-location.patch
blob: 0061538c85bccd14ea29a66de3b8b7b8217cdec6 (plain)
1
2
3
4
5
6
7
8
9
10
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;