diff --git a/core/module/dashboard/dashboard.php b/core/module/dashboard/dashboard.php deleted file mode 100644 index e2f4e6a..0000000 --- a/core/module/dashboard/dashboard.php +++ /dev/null @@ -1,50 +0,0 @@ - - * @copyright Copyright (C) 2008-2018, Rémi Jean - * @author Frédéric Tempez - * @copyright Copyright (C) 2018-2023, Frédéric Tempez - * @license CC Attribution-NonCommercial-NoDerivatives 4.0 International - * @link http://zwiicms.fr/ - */ - -class dashboard extends common -{ - - public static $actions = [ - 'index' => self::GROUP_ADMIN, - ]; - - - - public static $infos = []; - - /** - * Dashboard - */ - public function index() - { - - self::$infos['webserver'] = $_SERVER['SERVER_SOFTWARE']; - self::$infos['php']['version'] = phpversion(); - self::$infos['php']['extension'] = get_loaded_extensions(); - - self::$infos['system']['memory'] = memory_get_usage() . ' octets'; - self::$infos['system']['peek'] = 'Pic de mémoire utilisée : ' . memory_get_peak_usage() . ' octets'; - - $loadAverage = sys_getloadavg(); - self::$infos['system']['charge'] = 'Charge moyenne (1 min / 5 min / 15 min) : ' . implode(' / ', $loadAverage) . '

'; - - // Valeurs en sortie - $this->addOutput([ - 'title' => helper::translate('Tableau de bord'), - 'view' => 'index' - ]); - } - -} \ No newline at end of file diff --git a/core/module/dashboard/view/index/index.php b/core/module/dashboard/view/index/index.php deleted file mode 100644 index cd2b8e5..0000000 --- a/core/module/dashboard/view/index/index.php +++ /dev/null @@ -1,54 +0,0 @@ - -
-
- 'buttonGrey', - 'href' => helper::baseUrl(false), - 'value' => template::ico('home') - ]); ?> -
-
-
-
-
-

- -

-
-
-

- -

-

- -

-
-
-

- -

-

- -

-
-
- -
-
-

- -

-

- -

-

- -

-

- -

-
-
-
-
-
\ No newline at end of file