Set the file permissions on for the sqlite database so it will work better with the Debian package

This commit is contained in:
Mark Crane 2014-04-09 15:02:25 +00:00
parent 4db5c3c041
commit d4c3a49bc3
1 changed files with 3 additions and 0 deletions

View File

@ -536,6 +536,9 @@ if ($_POST["install_step"] == "3" && count($_POST) > 0 && strlen($_POST["persist
}
unset ($file_contents, $sql);
$db_tmp->commit();
//set the file permissions
chmod($db_path.'/'.$db_name, 0777);
}
//create the pgsql database