réglage de bugs + optimisation du code

This commit is contained in:
2024-05-23 11:52:41 +02:00
parent e55821b0fe
commit deca6ccb93
9 changed files with 28 additions and 30 deletions

View File

@@ -7,6 +7,7 @@ class Albums extends CI_Controller {
parent::__construct();
$this->load->model('model_music');
$this->load->helper('url');
$this->load->helper('html');
}
public function index($page = 1){

View File

@@ -8,6 +8,7 @@ class Artiste extends CI_Controller {
$this->load->model('Model_artist');
$this->load->model('Model_music');
$this->load->helper('url');
$this->load->helper('html');
}
public function index($artiste_id){

View File

@@ -7,6 +7,8 @@ public function index() {
$this->load->helper('url');
$this->load->helper('html');
// Appeler la fonction pour récupérer les couvertures d'albums
$data['covers'] = $this->Cover_model->get_covers();

View File

@@ -6,6 +6,7 @@ class MentionsLegales extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->helper('url');
$this->load->helper('html');
}
public function index()

View File

@@ -8,6 +8,7 @@ class Musiques extends CI_Controller {
$this->load->model('Model_music');
$this->load->library('pagination');
$this->load->helper('url');
$this->load->helper('html');
}
public function index($page = 1){

View File

@@ -7,6 +7,7 @@ class Search extends CI_Controller {
parent::__construct();
$this->load->model('Search_model');
$this->load->helper('url');
$this->load->helper('html');
}
public function index(){

View File

@@ -8,6 +8,7 @@ class Utilisateur extends CI_Controller {
$this->load->helper(array('form', 'url'));
$this->load->library(array('form_validation', 'session'));
$this->load->model('Utilisateur_model');
$this->load->helper('html');
}
public function inscription(){