mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-19 05:36:13 +00:00
Bugfix
This commit is contained in:
parent
097a5b63bc
commit
cec803e14c
1 changed files with 2 additions and 2 deletions
|
@ -83,9 +83,9 @@ function create_use_database($continue_r, $con, $database) {
|
||||||
}
|
}
|
||||||
function update_database_structure($continue_r, $con, $file) {
|
function update_database_structure($continue_r, $con, $file) {
|
||||||
$continue = $continue_r;
|
$continue = $continue_r;
|
||||||
global $privatePhpDirectory;
|
global $PRIVATE_PHP_PATH;
|
||||||
if ($continue) {
|
if ($continue) {
|
||||||
$sql = file_get_contents($privatePhpDirectory . "/setup/sql/" . $file);
|
$sql = file_get_contents($PRIVATE_PHP_PATH . "/setup/sql/" . $file);
|
||||||
if (!$sql) {
|
if (!$sql) {
|
||||||
printalert("danger", "Cannot read <em>" . $file . "</em>");
|
printalert("danger", "Cannot read <em>" . $file . "</em>");
|
||||||
$continue = false;
|
$continue = false;
|
||||||
|
|
Loading…
Reference in a new issue