Update CodeIgniter system 3.1.0 => 3.1.16

This commit is contained in:
2020-08-02 02:23:47 -04:00
parent 3523bc5f57
commit 083b534f0a
176 changed files with 2351 additions and 1889 deletions
+3 -4
View File
@@ -6,9 +6,9 @@ class Dash extends Users_Controller {
function __construct() {
parent::__construct();
if (!isset($_SESSION['username']) or $_SESSION['username'] == '') {
if (!isset($_SESSION['username']) or $_SESSION['username'] == '') {
redirect(home);
}
}
}
public function index() {
@@ -21,8 +21,7 @@ class Dash extends Users_Controller {
$data['member_id'] = $_SESSION['member_id']; // = $ret->email;
// print_r($_SESSION);
//Array ( [__ci_last_regenerate] => 1474689025 [username] => ses66181+1@gmail.com [name] => ses66181+1@gmail.com [firstname] => Olusesan [lastname] => Amey [email] => ses66181+1@gmail.com )
//
if (!isset($_SESSION['username']) or $_SESSION['username'] == '') {
if (!isset($_SESSION['username']) or $_SESSION['username'] == '') {
redirect(home);
} else {
// load the Dash model now