Fix PHP notices in boot, index and App

- Use defaults() with $_GET variables in boot
- Initialize $a before checking for object member in boot
- Initilialize the $_SESSION variable for backend mode in index
- Add member variable page_offset to App
This commit is contained in:
Hypolite Petovan 2018-01-01 15:08:00 -05:00
parent 54d598ce7c
commit 585c00347d
3 changed files with 8 additions and 8 deletions

View file

@ -37,6 +37,7 @@ class App {
public $query_string;
public $config;
public $page;
public $page_offset;
public $profile;
public $profile_uid;
public $user;