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 3732d8798f
commit 223a9bf175

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