réglage de bugs + optimisation du code
This commit is contained in:
@@ -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){
|
||||
|
@@ -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){
|
||||
|
@@ -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();
|
||||
|
||||
|
@@ -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()
|
||||
|
@@ -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){
|
||||
|
@@ -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(){
|
||||
|
@@ -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(){
|
||||
|
Reference in New Issue
Block a user