From cec803e14c730716c9f03faa3859f1063f6c3183 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Mon, 8 Sep 2014 00:23:07 +0200 Subject: [PATCH] Bugfix --- code/web/public_php/setup/header.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/web/public_php/setup/header.php b/code/web/public_php/setup/header.php index 97c9cc16c..bc3924f4a 100644 --- a/code/web/public_php/setup/header.php +++ b/code/web/public_php/setup/header.php @@ -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 " . $file . ""); $continue = false;