mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-07-11 00:26:18 +02:00
29 lines
625 B
PHP
29 lines
625 B
PHP
<?php
|
|
|
|
// Add plugin navigation link
|
|
Navigation::add(__('Information', 'information'), 'system', 'information', 5);
|
|
|
|
/**
|
|
* Information Admin Class
|
|
*/
|
|
class InformationAdmin extends Backend
|
|
{
|
|
/**
|
|
* Information main function
|
|
*/
|
|
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')
|
|
->assign('php_modules', $php_modules)
|
|
->display();
|
|
}
|
|
|
|
}
|