aports/testing/lam/lam-change-config-file-location.patch
Leonardo Arena 223c0cfb5a testing/lam: new aport
PHP webfrontend for managing various account types in an LDAP directory in an abstract way
2013-06-10 06:43:16 +00:00

12 lines
355 B
Diff

--- 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;