@ -44,6 +44,7 @@ if(!OC_FILESYSTEM::file_exists($filename)){
$ftype=OC_FILESYSTEM::getMimeType( $filename );
header('Content-Type:'.$ftype);
header('Content-Disposition: attachment; filename="'.basename($filename).'"');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
@ -91,7 +91,7 @@ require_once('plugin.php');
$error=(count(OC_UTIL::checkServer())>0);
if(!$error){
if(!$error and OC_CONFIG::getValue('installed',false)){
OC_PLUGIN::loadPlugins( "" );
}