diff options
| author | Simon Rettberg | 2014-05-24 18:42:23 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2014-05-24 18:42:23 +0200 |
| commit | ee27ec0d2bc44fece8b438a4ea58ac956198d300 (patch) | |
| tree | 29c7e34925d5525a60fcfca081725cd4a845e635 /inc/configmodule.inc.php | |
| parent | Stuff (WIP) (diff) | |
| download | slx-admin-ee27ec0d2bc44fece8b438a4ea58ac956198d300.tar.gz slx-admin-ee27ec0d2bc44fece8b438a4ea58ac956198d300.tar.xz slx-admin-ee27ec0d2bc44fece8b438a4ea58ac956198d300.zip | |
WIP
Diffstat (limited to 'inc/configmodule.inc.php')
| -rw-r--r-- | inc/configmodule.inc.php | 3 |
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); |
