This commit is contained in:
kaetemi 2014-09-08 00:23:07 +02:00
parent 097a5b63bc
commit cec803e14c

View file

@ -83,9 +83,9 @@ function create_use_database($continue_r, $con, $database) {
}
function update_database_structure($continue_r, $con, $file) {
$continue = $continue_r;
global $privatePhpDirectory;
global $PRIVATE_PHP_PATH;
if ($continue) {
$sql = file_get_contents($privatePhpDirectory . "/setup/sql/" . $file);
$sql = file_get_contents($PRIVATE_PHP_PATH . "/setup/sql/" . $file);
if (!$sql) {
printalert("danger", "Cannot read <em>" . $file . "</em>");
$continue = false;