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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 324 additions and 350 deletions

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";
}
/**