mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:36 +02: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";
|
$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;
|
return False;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user