fixes #1499 chmod 777 tmp
This commit is contained in:
parent
8b8fc28d50
commit
09cb543111
|
@ -1309,7 +1309,7 @@ class m_dom {
|
|||
$db->next_record();
|
||||
if ($db->f('create_tmpdir')) {
|
||||
if (! is_dir($dest_root . "/tmp")) {
|
||||
if(!@mkdir($dest_root . "/tmp",0770,true)){
|
||||
if(!@mkdir($dest_root . "/tmp",0777,true)){
|
||||
$err->raise("dom",_("Cannot write to the destination folder"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue