Fix deprecation and config errors/warnings. The entire project should now work using only the php shell.

This commit is contained in:
2025-11-24 15:06:58 +01:00
parent 823154ef9c
commit 330c09d2af
2 changed files with 14 additions and 2 deletions

View File

@@ -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.