1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-01 10:50:37 +02:00

Information Plugin: shows "PHP Built On", "Web Server", "WebServer to PHP Interface" information.

This commit is contained in:
Sergey Romanenko
2012-11-16 11:52:40 +02:00
parent 04eaf0538a
commit a100db3c31

View File

@@ -52,6 +52,18 @@
<td><?php echo __('PHP version', 'information'); ?></td>
<td><?php echo PHP_VERSION; ?></td>
</tr>
<tr>
<td><?php echo __('PHP Built On', 'information'); ?></td>
<td><?php echo php_uname(); ?></td>
</tr>
<tr>
<td><?php echo __('Web Server', 'information'); ?></td>
<td><?php echo (isset($_SERVER['SERVER_SOFTWARE'])) ? $_SERVER['SERVER_SOFTWARE'] : @getenv('SERVER_SOFTWARE'); ?></td>
</tr>
<tr>
<td><?php echo __('WebServer to PHP Interface', 'information'); ?></td>
<td><?php echo php_sapi_name(); ?></td>
</tr>
<tr>
<td><?php echo __('SimpleXML module', 'information'); ?></td>
<td><?php if (in_array('SimpleXML', $php_modules)) { echo __('Installed', 'information'); } else { echo __('Not Installed', 'information'); } ?></td>