fix
This commit is contained in:
@@ -5,18 +5,20 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
class Auth extends CI_Controller {
|
||||
|
||||
public function index() {
|
||||
//$this->load->view('home/home');
|
||||
// echo "START LOGIN";
|
||||
$login_done = false;
|
||||
$data = array();
|
||||
|
||||
if ($_POST){
|
||||
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||
$this->renderMemberPages('view_dash', $data);
|
||||
}
|
||||
$this->renderAuthPages('view_login', $data);
|
||||
$login_done = true;
|
||||
|
||||
// exit();
|
||||
}
|
||||
|
||||
if(false == $login_done ){
|
||||
$this->renderAuthPages('view_login', $data);
|
||||
}
|
||||
|
||||
//$this->load->view('auth/view_head');
|
||||
//$this->load->view('auth/view_login');
|
||||
//$this->load->view('auth/view_foot');
|
||||
}
|
||||
|
||||
public function newuser() {
|
||||
|
||||
Reference in New Issue
Block a user