X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/4dc05368251f5bb89a2780f5b1a4bd1866369bdd..33bb6cfe3111b316082336edae43846aaef84f17:/lib/functions.php?ds=inline
diff --git a/lib/functions.php b/lib/functions.php
index 53733ca..a4f9ec6 100644
--- a/lib/functions.php
+++ b/lib/functions.php
@@ -843,12 +843,16 @@ function jirafeau_admin_bug_report($cfg)
$out .= "- mcrypt version: " . phpversion('mcrypt') . "
";
$php_options = [
'post_max_size',
- 'upload_max_filesize'
+ 'upload_max_filesize',
+ 'safe_mode',
+ 'max_execution_time',
+ 'max_input_time'
];
foreach ($php_options as &$o) {
$v = ini_get($o);
$out .= "- $o: " . jirafeau_strval($v) . " (" . gettype($v). ")
";
}
+ $out .= "- can set_time_limit: " . (set_time_limit(0) ? "yes" : "no") . "
";
$out .= "
";
$out .= "# File permissions
";
@@ -869,10 +873,15 @@ function jirafeau_admin_bug_report($cfg)
$out .= "# Browser details
";
$out .= "";
+ $out .= "
";
+
+ $out .= "# Memory
";
+ $out .= "- memory_get_peak_usage: " . jirafeau_human_size(memory_get_peak_usage()) . "
";
+
$out .= "";
return $out;
}