tidying up
This commit is contained in:
@@ -8,7 +8,7 @@ class MVCController{
|
||||
private $timesOverridden = 0;
|
||||
private static $mvcController;
|
||||
public static $viewData = [];
|
||||
function MVCController(){
|
||||
function __construct(){
|
||||
self::$mvcController = $this;
|
||||
//prepare current view and view model
|
||||
if(isset($_GET['p']) && $_GET['p'] != ''){
|
||||
|
||||
@@ -5,7 +5,7 @@ Class UserSession{
|
||||
public $token = "undefined";
|
||||
public $expires;
|
||||
public static $session;
|
||||
public function UserSession($uid, $token = "undefined"){
|
||||
public function __construct($uid, $token = "undefined"){
|
||||
$this->uid = $uid;
|
||||
$this->token = $token;
|
||||
$this->setExpiry();
|
||||
|
||||
Reference in New Issue
Block a user