if dir is not writable, download xet file

This commit is contained in:
Ralf Becker 2012-07-18 17:39:42 +00:00
parent e85d49c343
commit e89f63148c

View File

@ -131,7 +131,11 @@ class editor
}
if (!is_writeable($dir))
{
return lang("Error: webserver is not allowed to write into '%1' !!!",$dir);
// if dir is not writable, download file
html::content_header($name.'.xet','application/xml',bytes($xml));
echo $xml;
common::egw_exit();
//return lang("Error: webserver is not allowed to write into '%1' !!!",$dir);
}
if ($create_it)
{