From 229dd8922380986f58f204877d11c06aaaf228b1 Mon Sep 17 00:00:00 2001 From: Theo Weijmer <> Date: Sun, 11 Apr 2021 09:07:24 +0200 Subject: [PATCH] underconstruction --- application/controllers/Main.php | 2 + application/views/underconstruction.php | 79 +++++++++++++++++++ .../reports/monthlyEmployeeHoursModule.js | 1 - 3 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 application/views/underconstruction.php diff --git a/application/controllers/Main.php b/application/controllers/Main.php index 0299dab..8081b7f 100755 --- a/application/controllers/Main.php +++ b/application/controllers/Main.php @@ -10,6 +10,8 @@ class Main extends MY_Controller { public function index() { + if( $_ENV['MAINTENANCE']) return $this->load->view('underconstruction'); + if ( AUTHENTICATED == FALSE ) return $this->showLoginPage(); $pages = Page::getPages( $this->user ); diff --git a/application/views/underconstruction.php b/application/views/underconstruction.php new file mode 100644 index 0000000..7722fcf --- /dev/null +++ b/application/views/underconstruction.php @@ -0,0 +1,79 @@ + + +
+ ++ Excuses voor het ongemak maar we zijn momenteel bezig om de appliactie aan te passen,
++ — Grippa Zorg Team
+