fix 500 error on missing config.php
This commit is contained in:
parent
fe6d5185d4
commit
9da0e4a2ff
|
@ -1,15 +1,15 @@
|
|||
<?php
|
||||
require_once "functions.php";
|
||||
|
||||
define('EXPECTED_CONFIG_VERSION', 23);
|
||||
define('SCHEMA_VERSION', 86);
|
||||
|
||||
if (!file_exists("config.php")) {
|
||||
print "<b>Fatal Error</b>: You forgot to copy
|
||||
<b>config.php-dist</b> to <b>config.php</b> and edit it.\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
define('EXPECTED_CONFIG_VERSION', 23);
|
||||
define('SCHEMA_VERSION', 86);
|
||||
|
||||
require_once "config.php";
|
||||
require_once "sanity_config.php";
|
||||
|
||||
|
|
Loading…
Reference in New Issue