inscription connexion

This commit is contained in:
2024-06-10 11:16:43 +02:00
parent a27deb8ff4
commit 5089f0cd33
14 changed files with 247 additions and 31 deletions

View File

@@ -0,0 +1,15 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Deconnexion extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->model('model_music');
}
public function index() {
$this->session->unset_userdata('logged');
$this->session->sess_destroy();
redirect('albums');
}
}