diff --git a/web/app/Controller/AppController.php b/web/app/Controller/AppController.php index 7c640d79c..5aa8bd233 100644 --- a/web/app/Controller/AppController.php +++ b/web/app/Controller/AppController.php @@ -64,6 +64,9 @@ class AppController extends Controller { } else { $this->set('daemonStatus', ('Stopped')); } + + $this->set('systemLoad', $this->AppModel->getSystemLoad()); + $this->set('diskSpace', $this->AppModel->getDiskSpace()); } function extractNamedParams($mandatory, $optional = array()) { diff --git a/web/app/View/Layouts/default.ctp b/web/app/View/Layouts/default.ctp index c0a7c2660..54e631a1c 100644 --- a/web/app/View/Layouts/default.ctp +++ b/web/app/View/Layouts/default.ctp @@ -45,6 +45,8 @@ $cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework