mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +01:00
if dir is not writable, download xet file
This commit is contained in:
parent
55c704a2b3
commit
c93381b90a
@ -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