Move Config::get() to DI::config()->get()
This commit is contained in:
@@ -78,7 +78,7 @@ function wall_attach_post(App $a) {
|
||||
$filename = basename($_FILES['userfile']['name']);
|
||||
$filesize = intval($_FILES['userfile']['size']);
|
||||
|
||||
$maxfilesize = Config::get('system','maxfilesize');
|
||||
$maxfilesize = DI::config()->get('system','maxfilesize');
|
||||
|
||||
/* Found html code written in text field of form,
|
||||
* when trying to upload a file with filesize
|
||||
|
||||
Reference in New Issue
Block a user