Improved privilege separation

This commit is contained in:
Daniel Winzen committed 2019-01-01 02:24:22 +01:00
1 parent a5b0de4b07
commit 0f38bd2449
14 files changed
+238 -250

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ if($_SERVER['REQUEST_METHOD']==='POST'){
if(isset($_POST['public']) && $_POST['public']==1){
$public_list=1;
}
if(isset($_POST['php']) && in_array($_POST['php'], PHP_VERSIONS)){
if(isset($_POST['php']) && array_key_exists($_POST['php'], PHP_VERSIONS)){
$php = $_POST['php'];
}
if(isset($_POST['autoindex']) && $_POST['autoindex']==1){