mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:37:02 +02:00
gui: add support for external dashboard
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
@ -7,7 +7,12 @@ class ControllerHealthHealth extends Controller {
|
||||
|
||||
$this->id = "content";
|
||||
$this->template = "health/health.tpl";
|
||||
$this->layout = "common/layout";
|
||||
if(EXTERNAL_DASHBOARD_URL) {
|
||||
$this->layout = "common/layout-empty";
|
||||
}
|
||||
else {
|
||||
$this->layout = "common/layout";
|
||||
}
|
||||
|
||||
$this->load->model('health/health');
|
||||
|
||||
|
Reference in New Issue
Block a user