This commit is contained in:
2020-01-25 13:11:19 -05:00
parent eb8198e79f
commit d89446c636
8 changed files with 228 additions and 9 deletions
@@ -0,0 +1,21 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Member_Controller extends JUB_Controller {
public $data = array();
function __construct() {
parent::__construct();
if (!isset($_SESSION['username']) or $_SESSION['username'] == '') {
redirect('/');
} else {
// erase the session properly if here
// redirect('dash');
}
}
}