Add a flag for if there's no config file

This commit is contained in:
Evan Prodromou 2009-02-28 17:42:12 -08:00
parent 99d8fea394
commit f0d3ba2bc2

View File

@ -178,9 +178,12 @@ if (strlen($_path) > 0) {
$_config_files[] = INSTALLDIR.'/config.php';
$_have_a_config = false;
foreach ($_config_files as $_config_file) {
if (file_exists($_config_file)) {
include_once($_config_file);
$_have_a_config = true;
}
}