This commit is contained in:
2017-12-15 16:46:54 +01:00
parent 74331afbb9
commit d5f2b825ee
-22
View File
@@ -1,22 +0,0 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Main extends MY_Controller {
public function __construct()
{
parent::__construct();
}
public function index()
{
if( $this->authenticated == FALSE ) return $this->showLoginPage();
$this->load->view('main_view');
}
private function showLoginPage()
{
$this->load->view('pages/login/login_view');
}
}