mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-27 01:24:16 +00:00
added allow_furl_open to precheck
This commit is contained in:
@@ -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;">
|
||||
|
||||
Reference in New Issue
Block a user