summaryrefslogtreecommitdiffstats
path: root/inc/configmodule.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/configmodule.inc.php')
-rw-r--r--inc/configmodule.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/configmodule.inc.php b/inc/configmodule.inc.php
index 55f76cf3..e9fa40bb 100644
--- a/inc/configmodule.inc.php
+++ b/inc/configmodule.inc.php
@@ -3,7 +3,7 @@
class ConfigModule
{
- public static function insertAdConfig($title, $server, $searchbase, $binddn, $bindpw)
+ public static function insertAdConfig($title, $server, $searchbase, $binddn, $bindpw, $home)
{
// TODO: Lock table, race condition if about 500 admins insert a config at the same time
Database::exec("INSERT INTO configtgz_module (title, moduletype, filepath, contents) "
@@ -31,6 +31,7 @@ class ConfigModule
'searchbase' => $searchbase,
'binddn' => $binddn,
'bindpw' => $bindpw,
+ 'home' => $home,
'proxyport' => $port
);
$data = json_encode($ownEntry);