From fae4bd5b580e5e349f535198247591cc0b8dec82 Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Sat, 2 Sep 2017 13:36:37 +0300 Subject: community/homer-api: fix LDAP auth with php7 --- community/homer-api/php7.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 community/homer-api/php7.patch (limited to 'community/homer-api/php7.patch') diff --git a/community/homer-api/php7.patch b/community/homer-api/php7.patch new file mode 100644 index 0000000000..df159b0ba4 --- /dev/null +++ b/community/homer-api/php7.patch @@ -0,0 +1,11 @@ +--- homer-api-5.0.6/api/Authentication/LDAP.php ++++ homer-api-5.0.6.php7/api/Authentication/LDAP.php +@@ -118,7 +118,7 @@ + + + // Assigne Admin Privs, should be read from the LDAP Directory in the future +- $ADMIN_USER = split(",", LDAP_ADMIN_USER); ++ $ADMIN_USER = explode(",", LDAP_ADMIN_USER); + foreach($ADMIN_USER as &$value) { + + if ($value == $param['username']) { -- cgit v1.2.3