ajout fichier css + php, fusion - correction beug php
This commit is contained in:
@@ -10,9 +10,9 @@ class Albums extends CI_Controller {
|
||||
|
||||
public function index(){
|
||||
$albums = $this->model_music->getAlbums();
|
||||
$this->load->view('layout/header_album');
|
||||
$this->load->view('layout/header');
|
||||
$this->load->view('albums_list', ['albums' => $albums]);
|
||||
$this->load->view('layout/footer_album');
|
||||
$this->load->view('layout/footer');
|
||||
}
|
||||
|
||||
public function view($album_id){
|
||||
@@ -23,9 +23,9 @@ class Albums extends CI_Controller {
|
||||
|
||||
log_message('debug', 'Songs: ' . print_r($songs, true));
|
||||
|
||||
$this->load->view('layout/header_album');
|
||||
$this->load->view('layout/header');
|
||||
$this->load->view('song_album_list', ['songs' => $songs]);
|
||||
$this->load->view('layout/footer_album');
|
||||
$this->load->view('layout/footer');
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user