mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#12149 upload max file size in about and diagnostic info
This commit is contained in:
parent
48d7a63eb1
commit
64698c4951
@ -517,27 +517,31 @@ class Diagnostics extends Wizard
|
|||||||
$result = [
|
$result = [
|
||||||
'error' => false,
|
'error' => false,
|
||||||
'data' => [
|
'data' => [
|
||||||
'phpVersion' => [
|
'phpVersion' => [
|
||||||
'name' => __('PHP Version'),
|
'name' => __('PHP Version'),
|
||||||
'value' => phpversion(),
|
'value' => phpversion(),
|
||||||
],
|
],
|
||||||
'maxExecutionTime' => [
|
'maxExecutionTime' => [
|
||||||
'name' => __('PHP Max execution time'),
|
'name' => __('PHP Max execution time'),
|
||||||
'value' => ini_get('max_execution_time'),
|
'value' => ini_get('max_execution_time'),
|
||||||
],
|
],
|
||||||
'maxInputTime' => [
|
'maxInputTime' => [
|
||||||
'name' => __('PHP Max input time'),
|
'name' => __('PHP Max input time'),
|
||||||
'value' => ini_get('max_input_time'),
|
'value' => ini_get('max_input_time'),
|
||||||
],
|
],
|
||||||
'memoryLimit' => [
|
'memoryLimit' => [
|
||||||
'name' => __('PHP Memory limit'),
|
'name' => __('PHP Memory limit'),
|
||||||
'value' => ini_get('memory_limit'),
|
'value' => ini_get('memory_limit'),
|
||||||
],
|
],
|
||||||
'postMaxSize' => [
|
'postMaxSize' => [
|
||||||
'name' => __('PHP Post max size'),
|
'name' => __('PHP Post max size'),
|
||||||
'value' => ini_get('post_max_size'),
|
'value' => ini_get('post_max_size'),
|
||||||
],
|
],
|
||||||
'sessionLifetime' => [
|
'uploadMaxFilesize' => [
|
||||||
|
'name' => __('PHP Upload max file size'),
|
||||||
|
'value' => ini_get('upload_max_filesize'),
|
||||||
|
],
|
||||||
|
'sessionLifetime' => [
|
||||||
'name' => __('Session cookie lifetime'),
|
'name' => __('Session cookie lifetime'),
|
||||||
'value' => ini_get('session.cookie_lifetime'),
|
'value' => ini_get('session.cookie_lifetime'),
|
||||||
],
|
],
|
||||||
|
@ -1237,7 +1237,15 @@ if (is_ajax()) {
|
|||||||
<th style="width: 65%;">
|
<th style="width: 65%;">
|
||||||
<p style="font-size: 10pt;">'.$php_sys->data->postMaxSize->value.'</p>
|
<p style="font-size: 10pt;">'.$php_sys->data->postMaxSize->value.'</p>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th style="width: 35%;">
|
||||||
|
<p><span>'.$php_sys->data->uploadMaxFilesize->name.'</span></p>
|
||||||
|
</th>
|
||||||
|
<th style="width: 65%;">
|
||||||
|
<p style="font-size: 10pt;">'.$php_sys->data->uploadMaxFilesize->value.'</p>
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 35%;">
|
<th style="width: 35%;">
|
||||||
<p><span>'.$php_sys->data->sessionLifetime->name.'</span></p>
|
<p><span>'.$php_sys->data->sessionLifetime->name.'</span></p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user