added allow_furl_open to precheck

This commit is contained in:
HB9HIL
2024-01-28 15:35:54 +01:00
parent 5442f30623
commit b40f0feb35

View File

@@ -23,6 +23,7 @@ $min_php_version = '7.4.0';
$max_execution_time = 600; // Seconds
$max_upload_file_size = 20; // Megabyte
$post_max_size = 20; // Megabyte
$req_allow_url_fopen = '1'; // 1 = on
// Array of PHP modules to check
global $required_php_modules;
@@ -302,6 +303,21 @@ if ($_POST && isset($_POST['submit'])) {
<?php } ?>
</td>
</tr>
<tr>
<td>allow_url_fopen</td>
<td>On</td>
<td>
<?php
$get_allow_url_fopen = ini_get('allow_url_fopen');
if ($get_allow_url_fopen == $req_allow_url_fopen) {
?>
<span class="badge text-bg-success">On</span>
<?php } else {
$allChecksPassed = false; ?>
<span class="badge text-bg-danger">Off</span>
<?php } ?>
</td>
</tr>
</table>
</div>
<div class="col-md-5 mx-auto" style="margin-top: 50px;">