Fix deprecation and config errors/warnings. The entire project should now work using only the php shell.
This commit is contained in:
@@ -6,6 +6,17 @@
|
||||
*/
|
||||
class View
|
||||
{
|
||||
/* Resolve all the deprecation errors happening in the views, since they cant be disabled by error_reporting level in 8.4.*/
|
||||
public $redirect;
|
||||
public $users;
|
||||
public $notes;
|
||||
public $user_name;
|
||||
public $user_email;
|
||||
public $user_gravatar_image_url;
|
||||
public $user_avatar_file;
|
||||
public $avatar_file_path;
|
||||
public $user_account_type;
|
||||
|
||||
/**
|
||||
* simply includes (=shows) the view. this is done from the controller. In the controller, you usually say
|
||||
* $this->view->render('help/index'); to show (in this example) the view index.php in the folder help.
|
||||
|
||||
Reference in New Issue
Block a user