mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
function write: do is_writable for the dir and not for the nonexisting file now
This commit is contained in:
parent
090b9022b6
commit
f6c6249fd2
@ -485,7 +485,7 @@
|
||||
{
|
||||
$header = "<?php\n\n";
|
||||
}
|
||||
if (!is_writeable($file) || !($f = fopen($file,'w')))
|
||||
if (!is_writeable(PHPGW_SERVER_ROOT."/$app/setup") || !($f = fopen($file,'w')))
|
||||
{
|
||||
return False;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user