fix CONFIG_VERSION checking

This commit is contained in:
Andrew Dolgov 2006-03-28 16:44:51 +01:00
parent adf702d686
commit 9d87df8f60
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@
exit; exit;
} }
require_once "config.php";
if (CONFIG_VERSION != EXPECTED_CONFIG_VERSION) { if (CONFIG_VERSION != EXPECTED_CONFIG_VERSION) {
print "<b>Fatal Error</b>: Your configuration file has print "<b>Fatal Error</b>: Your configuration file has
wrong version. Please copy new options from <b>config.php-dist</b> and wrong version. Please copy new options from <b>config.php-dist</b> and