mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 04:51:52 +00:00
Bugfix
This commit is contained in:
parent
84364c0a82
commit
16cdf3b765
1 changed files with 2 additions and 1 deletions
|
@ -83,8 +83,9 @@ function create_use_database($continue_r, $con, $database) {
|
|||
}
|
||||
function update_database_structure($continue_r, $con, $file) {
|
||||
$continue = $continue_r;
|
||||
global $privatePhpDirectory;
|
||||
if ($continue) {
|
||||
$sql = file_get_contents($_POST["privatePhpDirectory"] . "/setup/sql/" . $file);
|
||||
$sql = file_get_contents($privatePhpDirectory . "/setup/sql/" . $file);
|
||||
if (!$sql) {
|
||||
printalert("danger", "Cannot read <em>" . $file . "</em>");
|
||||
$continue = false;
|
||||
|
|
Loading…
Reference in a new issue