Dash page logou
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Logout extends Web_Controller {
|
||||
|
||||
public function index() {
|
||||
// echo rand(1000, 9999);
|
||||
// print_r($this->input->get());
|
||||
$data = array();
|
||||
|
||||
$this->logUserOut();
|
||||
}
|
||||
|
||||
public function logUserOut() {
|
||||
$data = array();
|
||||
$this->destroySession();
|
||||
$this->renderExternalPage('welcome_message', $data);
|
||||
}
|
||||
|
||||
private function destroySession() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,13 +1,12 @@
|
||||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Provider extends CI_Controller {
|
||||
class Provider extends Provider_Controller {
|
||||
|
||||
public function index() {
|
||||
$data = array();
|
||||
$this->renderProviderSecurePage('dash', $data);
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$data = array();
|
||||
$this->load->view('provider/dash',$data);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user