Revert "Moved .htconfig.php file & extracted Install business logic"

This commit is contained in:
Tobias Diekershoff
2018-04-21 16:28:22 +02:00
committed by GitHub
parent afced187bc
commit f63be91bd5
22 changed files with 324 additions and 350 deletions
+2 -2
View File
@@ -37,11 +37,11 @@ $a->backend = false;
* installation mode.
*/
$install = ((file_exists('config/.htconfig.php') && filesize('config/.htconfig.php')) ? false : true);
$install = ((file_exists('.htconfig.php') && filesize('.htconfig.php')) ? false : true);
// Only load config if found, don't surpress errors
if (!$install) {
include "config/.htconfig.php";
include ".htconfig.php";
}
/**