aboutsummaryrefslogtreecommitdiffstats
path: root/community/homer-api/php7.patch
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-09-19 17:17:04 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-09-19 17:17:04 +0300
commitfb1062131ac950b1076b675cdd0883cc1fc016b7 (patch)
tree6cde065409c0c272069f491cb295ded66a034775 /community/homer-api/php7.patch
parent8c160033aa9cc65eb70f6e5891876dc6c6d6fd88 (diff)
downloadaports-fb1062131ac950b1076b675cdd0883cc1fc016b7.tar.bz2
aports-fb1062131ac950b1076b675cdd0883cc1fc016b7.tar.xz
Revert "main/homer-api: moved from community"
Diffstat (limited to 'community/homer-api/php7.patch')
-rw-r--r--community/homer-api/php7.patch11
1 files changed, 11 insertions, 0 deletions
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']) {