diff --git a/ci/application/controllers/Connexion.php b/ci/application/controllers/Connexion.php
index 3286127..817637a 100644
--- a/ci/application/controllers/Connexion.php
+++ b/ci/application/controllers/Connexion.php
@@ -9,9 +9,9 @@ class Connexion extends CI_Controller{
$this->load->model('model_music');
}
public function index(){
- //$this->load->view('layout/header');
+ $this->load->view('layout/header');
$this->load->view('login');
- //$this->load->view('layout/footer');
+ $this->load->view('layout/footer');
}
public function login() {
@@ -29,7 +29,7 @@ class Connexion extends CI_Controller{
$this->load->view('layout/header');
redirect('albums');
} else {
- //$this->load->view('layout/header');
+ $this->load->view('layout/header');
$this->load->view('login');
$this->load->view('layout/footer');
echo "Invalid login or password";
diff --git a/ci/application/controllers/Deconnexion.php b/ci/application/controllers/Deconnexion.php
index 24858a8..6b03e4e 100644
--- a/ci/application/controllers/Deconnexion.php
+++ b/ci/application/controllers/Deconnexion.php
@@ -10,6 +10,6 @@ class Deconnexion extends CI_Controller {
public function index() {
$this->session->unset_userdata('logged');
$this->session->sess_destroy();
- redirect('albums');
+ redirect('welcome');
}
}
\ No newline at end of file
diff --git a/ci/application/controllers/Enregistrer.php b/ci/application/controllers/Enregistrer.php
index d5f2a40..4f1edea 100644
--- a/ci/application/controllers/Enregistrer.php
+++ b/ci/application/controllers/Enregistrer.php
@@ -8,9 +8,9 @@ class Enregistrer extends CI_Controller{
$this->load->model('model_music');
}
public function index(){
- //$this->load->view('layout/header');
+ $this->load->view('layout/header');
$this->load->view('SignUp');
- //$this->load->view('layout/footer');
+ $this->load->view('layout/footer');
}
public function SignUp() {
$pseudo = '';
diff --git a/ci/application/index.html b/ci/application/index.html
deleted file mode 100644
index b702fbc..0000000
--- a/ci/application/index.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- 403 Forbidden
-
-
-
-Directory access is forbidden.
-
-
-
diff --git a/ci/application/views/SignUp.php b/ci/application/views/SignUp.php
index 5a56f6c..1d4cadc 100644
--- a/ci/application/views/SignUp.php
+++ b/ci/application/views/SignUp.php
@@ -1,3 +1,4 @@
+S'inscrire à SpotiFly
diff --git a/ci/application/views/errors/cli/error_404.php b/ci/application/views/errors/cli/error_404.php
deleted file mode 100644
index 6984b61..0000000
--- a/ci/application/views/errors/cli/error_404.php
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-An uncaught Exception was encountered
-
-Type:
-Message:
-Filename: getFile(), "\n"; ?>
-Line Number: getLine(); ?>
-
-
-
-Backtrace:
-getTrace() as $error): ?>
-
- File:
- Line:
- Function:
-
-
-
-
diff --git a/ci/application/views/errors/cli/error_general.php b/ci/application/views/errors/cli/error_general.php
deleted file mode 100644
index 6984b61..0000000
--- a/ci/application/views/errors/cli/error_general.php
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-A PHP Error was encountered
-
-Severity:
-Message:
-Filename:
-Line Number:
-
-
-
-Backtrace:
-
-
- File:
- Line:
- Function:
-
-
-
-
diff --git a/ci/application/views/errors/html/error_404.php b/ci/application/views/errors/html/error_404.php
deleted file mode 100644
index 756ea9d..0000000
--- a/ci/application/views/errors/html/error_404.php
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-404 Page Not Found
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ci/application/views/errors/html/error_db.php b/ci/application/views/errors/html/error_db.php
deleted file mode 100644
index f5a43f6..0000000
--- a/ci/application/views/errors/html/error_db.php
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-Database Error
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ci/application/views/errors/html/error_exception.php b/ci/application/views/errors/html/error_exception.php
deleted file mode 100644
index 8784886..0000000
--- a/ci/application/views/errors/html/error_exception.php
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
An uncaught Exception was encountered
-
-
Type:
-
Message:
-
Filename: getFile(); ?>
-
Line Number: getLine(); ?>
-
-
-
-
Backtrace:
- getTrace() as $error): ?>
-
-
-
-
- File:
- Line:
- Function:
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ci/application/views/errors/html/error_general.php b/ci/application/views/errors/html/error_general.php
deleted file mode 100644
index fc3b2eb..0000000
--- a/ci/application/views/errors/html/error_general.php
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-Error
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ci/application/views/errors/html/error_php.php b/ci/application/views/errors/html/error_php.php
deleted file mode 100644
index b146f9c..0000000
--- a/ci/application/views/errors/html/error_php.php
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
A PHP Error was encountered
-
-
Severity:
-
Message:
-
Filename:
-
Line Number:
-
-
-
-
Backtrace:
-
-
-
-
-
- File:
- Line:
- Function:
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ci/application/views/layout/connexion.php b/ci/application/views/layout/connexion.php
deleted file mode 100644
index b2ac970..0000000
--- a/ci/application/views/layout/connexion.php
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
- Connexion Spotify
-
-
-
-
-
-
Se connecter à Spotify
-
-
-
-
Ou se connecter avec
-
-
-
-
-
-
-
-
diff --git a/ci/application/views/layout/footer.php b/ci/application/views/layout/footer.php
index af1e0f9..2c01346 100644
--- a/ci/application/views/layout/footer.php
+++ b/ci/application/views/layout/footer.php
@@ -3,8 +3,7 @@
MUSIC APP
-
-
+