-/**
- * Load the configuration file which contains our DB credentials.
- * Ignore errors. If the file doesn't exist or is empty, we are running in
- * installation mode.
- */
-
-$install = ((file_exists('config/.htconfig.php') && filesize('config/.htconfig.php')) ? false : true);
-
-// Only load config if found, don't surpress errors
-if (!$install) {
- include "config/.htconfig.php";
+// Only load config if found, don't suppress errors
+if (!$a->mode == App::MODE_INSTALL) {
+ include ".htconfig.php";