Skip to content

Commit ae8c4fa

Browse files
committed
Fileupload -> \fileupload
1 parent 5675095 commit ae8c4fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

controller/main.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ private function display_pb()
232232
$filedata = $this->request->file('fileupload');
233233
if (isset($_FILES['fileupload']) && $filedata['name'] != 'none' && trim($filedata['name']))
234234
{
235-
include_once($phpbb_root_path . 'includes/functions_upload.' . $phpEx);
236-
$upload = new fileupload('PASTEBIN_');
235+
include_once($this->root_path . 'includes/functions_upload.' . $this->php_ext);
236+
$upload = new \fileupload('PASTEBIN_');
237237

238238
$upload->set_allowed_extensions(array('txt', 'mod', 'php', 'xml', 'html'));
239239

0 commit comments

Comments
 (0)