Code Context //ob_clean();
flush();
readfile($path.$fileName);
$id = '5'
$file_id = '5'
$downloadfile = array(
'Download' => array(
'id' => '5',
'content_type' => '3',
'title' => 'Class Routine 2022',
'downloadfile' => '',
'order' => '0',
'created' => '2022-10-20 00:40:39',
'modified' => '2022-10-20 00:40:39',
'isactive' => '1'
)
)
$path = null
$fileName = ''
readfile - [internal], line ??
DownloadsController::download() - APP/Controller/DownloadsController.php, line 51
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 110