1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-12 16:14:28 +02:00

Imformation Plugin: add new tab "Server" with common server information.

This commit is contained in:
Awilum
2012-09-26 00:19:02 +03:00
parent fbf20db18c
commit 8884e931a6
2 changed files with 50 additions and 1 deletions

View File

@@ -12,8 +12,16 @@
*/
public static function main() {
// Init vars
$php_modules = array();
// Get array with the names of all modules compiled and loaded
$php_modules = get_loaded_extensions();
// Display view
View::factory('box/information/views/backend/index')->display();
View::factory('box/information/views/backend/index')
->assign('php_modules', $php_modules)
->display();
}