'filemanager', 'nonavbar' => true, 'noheader' => true ); } require_once '../../header.inc.php'; $bo = CreateObject('filemanager.bofilemanager'); $path = base64_decode($_GET['path']); $file = base64_decode($_GET['file']); if($file) { //$GLOBALS['phpgw']->browser->content_header($file); header ("Content-Type: application/octet-stream"); header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0"); header("Pragma: public"); header("Expires: 0"); header ("Content-Disposition: attachment; filename=\"". addslashes($file)."\""); echo $bo->vfs->read(array('string' => $file)); $GLOBALS['phpgw']->common->phpgw_exit(); } ?>