https://area51.phpbb.com/docs/dev/3.3.x ... -injection
No files requested, your
No files requested, your
__construct(
is wrongly set.Code:
class blobuploader{ protected $user; protected $request; protected $root_path; protected $php_ext; public function __construct( \phpbb\user user $user, \phpbb\request\request $request, $root_path, $php_ext) { $this->user = $user; $this->request = $request; $this->root_path = $root_path; $this->php_ext = $php_ext; } public function handle_request() { //... return $this; }
Statistics: Posted by Steve — Mon Jan 13, 2025 4:51 pm