Fix Erreur getter
This commit is contained in:
parent
10423f5252
commit
523a636254
application/controllers
@ -6,6 +6,7 @@ class Artistes extends CI_Controller {
|
|||||||
public function __construct(){
|
public function __construct(){
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
$this->load->model('model_music');
|
$this->load->model('model_music');
|
||||||
|
$this->load->library('session');
|
||||||
}
|
}
|
||||||
public function index(){
|
public function index(){
|
||||||
$genre = $this->input->get('genre');
|
$genre = $this->input->get('genre');
|
||||||
|
@ -6,6 +6,7 @@ class Music extends CI_Controller {
|
|||||||
public function __construct(){
|
public function __construct(){
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
$this->load->model('model_music');
|
$this->load->model('model_music');
|
||||||
|
$this->load->library('session');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -17,7 +18,7 @@ class Music extends CI_Controller {
|
|||||||
$this->load->view('layout/header',['genres'=>$genres]);
|
$this->load->view('layout/header',['genres'=>$genres]);
|
||||||
$this->load->view('layout/getter', $this->session->userdata('logged_in'));
|
$this->load->view('layout/getter', $this->session->userdata('logged_in'));
|
||||||
$this->load->view('musiques_name',['musics'=>$musics]);
|
$this->load->view('musiques_name',['musics'=>$musics]);
|
||||||
$this->load->view('layout/footer');
|
$this->load->view('layout/footer');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user