underconstruction

This commit is contained in:
Theo Weijmer
2021-04-11 09:07:24 +02:00
parent 321432efa2
commit 229dd89223
3 changed files with 81 additions and 1 deletions
+2
View File
@@ -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 );