]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add a flag for if there's no config file
authorEvan Prodromou <evan@controlyourself.ca>
Sun, 1 Mar 2009 01:42:12 +0000 (17:42 -0800)
committerEvan Prodromou <evan@controlyourself.ca>
Sun, 1 Mar 2009 01:42:12 +0000 (17:42 -0800)
lib/common.php

index 4fc749ca06540095b258e9ab4871a7e842855e00..2298c5f88f32b22e534fc93851835d013cd6ea4d 100644 (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;
     }
 }