mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-09-08 02:50:59 +00:00
show a list of apache extensions
This commit is contained in:
parent
5247508fab
commit
6971a46be8
|
@ -106,6 +106,19 @@ class SeedDMS_View_Info extends SeedDMS_Bootstrap_Style {
|
||||||
foreach(array_diff($requiredext, $phpextensions) as $extname)
|
foreach(array_diff($requiredext, $phpextensions) as $extname)
|
||||||
echo "<tr><td>".$extname."</td><td>"."</td></tr>\n";
|
echo "<tr><td>".$extname."</td><td>"."</td></tr>\n";
|
||||||
echo "</tbody>\n</table>\n";
|
echo "</tbody>\n</table>\n";
|
||||||
|
|
||||||
|
if(function_exists('apache_get_modules')) {
|
||||||
|
$this->contentHeading(getMLText("installed_apache_extensions"));
|
||||||
|
$apacheextensions = apache_get_modules();
|
||||||
|
echo "<table class=\"table table-condensed\">\n";
|
||||||
|
echo "<thead>\n<tr>\n";
|
||||||
|
echo "<th>".getMLText("name");
|
||||||
|
echo "</th>\n";
|
||||||
|
echo "</tr>\n</thead>\n<tbody>\n";
|
||||||
|
foreach($apacheextensions as $extname)
|
||||||
|
echo "<tr><td>".$extname."</td><td>"."</td></tr>\n";
|
||||||
|
echo "</tbody>\n</table>\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$this->columnEnd();
|
$this->columnEnd();
|
||||||
$this->rowEnd();
|
$this->rowEnd();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user