mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Revert "Moved .htconfig.php file & extracted Install business logic"
This commit is contained in:
parent
afced187bc
commit
f63be91bd5
22 changed files with 324 additions and 350 deletions
|
@ -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";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue