aboutsummaryrefslogtreecommitdiffstats
path: root/hs20
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-09-10 20:41:35 (GMT)
committerJouni Malinen <jouni@codeaurora.org>2018-09-10 20:41:35 (GMT)
commitad5c385db940b95627f4d4d681331665d18ef395 (patch)
tree5c0c6a060f45a4a189fb3ebc3d0e79b1df742602 /hs20
parent02eec9954cacb1a4b9460c3c45524ce383c7ce17 (diff)
downloadhostap-ad5c385db940b95627f4d4d681331665d18ef395.zip
hostap-ad5c385db940b95627f4d4d681331665d18ef395.tar.gz
hostap-ad5c385db940b95627f4d4d681331665d18ef395.tar.bz2
HS 2.0 server: Replace deprecated PHP function split()
Use explode() instead of split() because split() has been removed from PHP 7.0.0 and there is no need for using full regular expression here. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'hs20')
-rw-r--r--hs20/server/www/est.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/hs20/server/www/est.php b/hs20/server/www/est.php
index a45648b..6983ec9 100644
--- a/hs20/server/www/est.php
+++ b/hs20/server/www/est.php
@@ -2,7 +2,7 @@
require('config.php');
-$params = split("/", $_SERVER["PATH_INFO"], 3);
+$params = explode("/", $_SERVER["PATH_INFO"], 3);
$realm = $params[1];
$cmd = $params[2];
$method = $_SERVER["REQUEST_METHOD"];