aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lam/lam-change-config-file-location.patch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-06-10 06:42:25 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-06-10 06:43:16 +0000
commit223c0cfb5a67c812a8ba2e51f447201fd1eeb385 (patch)
tree88e8bd95abb2f4802e897422c1aebd7d4949c233 /testing/lam/lam-change-config-file-location.patch
parent56e86f05b269b4b1fd81f58fd269d6eea4114594 (diff)
downloadaports-223c0cfb5a67c812a8ba2e51f447201fd1eeb385.tar.bz2
aports-223c0cfb5a67c812a8ba2e51f447201fd1eeb385.tar.xz
testing/lam: new aport
PHP webfrontend for managing various account types in an LDAP directory in an abstract way
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;