This commit is contained in:
2019-10-01 09:55:15 -04:00
parent c13ff13741
commit 4c2b1bff1f
3 changed files with 160 additions and 0 deletions
@@ -0,0 +1,21 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Practice_Controller extends JUB_Controller {
public $data = array();
function __construct() {
parent::__construct();
if (!isset($_SESSION['username']) or $_SESSION['username'] == '') {
// redirect('site');
} else {
// erase the session properly if here
// redirect('dash');
}
}
}