rangement fichier + réglage beug
This commit is contained in:
@@ -9,9 +9,9 @@ class Connexion extends CI_Controller{
|
||||
$this->load->model('model_music');
|
||||
}
|
||||
public function index(){
|
||||
//$this->load->view('layout/header');
|
||||
$this->load->view('layout/header');
|
||||
$this->load->view('login');
|
||||
//$this->load->view('layout/footer');
|
||||
$this->load->view('layout/footer');
|
||||
}
|
||||
public function login() {
|
||||
|
||||
@@ -29,7 +29,7 @@ class Connexion extends CI_Controller{
|
||||
$this->load->view('layout/header');
|
||||
redirect('albums');
|
||||
} else {
|
||||
//$this->load->view('layout/header');
|
||||
$this->load->view('layout/header');
|
||||
$this->load->view('login');
|
||||
$this->load->view('layout/footer');
|
||||
echo "Invalid login or password";
|
||||
|
||||
Reference in New Issue
Block a user