/** * On run make an instance of the config class and view class. */ public function __construct() { /** initialise the views object */ $this->view = new View(); /** initialise the language object */ $this->language = new Language(); /** initialise the language object */ $this->log = new Log(); Auth::getUserPermissions(); }