fixes #1499 chmod 777 tmp

This commit is contained in:
Steven Mondji-Lerider 2013-10-18 09:27:41 +00:00
parent 8b8fc28d50
commit 09cb543111
1 changed files with 1 additions and 1 deletions

View File

@ -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"));
}
}