mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
if dir is not writable, download xet file
This commit is contained in:
parent
e85d49c343
commit
e89f63148c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user