ucase
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user