false,'error'=>'no path detected in message','msg'=>$msg,'source'=>'scan_file_smart']); exit; } } // Delegate to scan_file with extracted path $_GET['path'] = $path; include __DIR__ . '/scan_file_handler.php';