checking for missing proc_open

This commit is contained in:
Uwe Steinmann 2021-03-30 13:03:26 +02:00
parent 449db6bd5b
commit c238b3003f

View File

@ -107,6 +107,20 @@ class SeedDMS_View_Info extends SeedDMS_Bootstrap_Style {
echo "<tr><td>".$extname."</td><td>"."</td></tr>\n";
echo "</tbody>\n</table>\n";
$this->contentHeading(getMLText("missing_php_functions"));
echo "<table class=\"table table-condensed\">\n";
echo "<thead>\n<tr>\n";
echo "<th>".getMLText("name");
echo "<th>".getMLText("missing_func_note");
echo "</th>\n";
echo "</tr>\n</thead>\n<tbody>\n";
foreach(array('proc_open') as $funcname) {
if(!function_exists($funcname)) {
echo "<tr><td>".$funcname."</td><td>".getMLText('func_'.$funcname."_missing")."</td></tr>";
}
}
echo "</tbody>\n</table>\n";
if(function_exists('apache_get_modules')) {
$this->contentHeading(getMLText("installed_apache_extensions"));
$apacheextensions = apache_get_modules();