mirror of
https://github.com/friendica/friendica
synced 2025-04-26 03:50:12 +00:00
Add Install Mode
- Added $install_mode in Class App instead - Extracted the install business logic to a new Class Install - Replaced all $a->module == 'install' with $a->install_mode
This commit is contained in:
parent
ebe203336f
commit
6973aaefc2
5 changed files with 349 additions and 306 deletions
|
@ -637,7 +637,7 @@ function logger($msg, $level = 0) {
|
|||
|
||||
// turn off logger in install mode
|
||||
if (
|
||||
$a->module == 'install'
|
||||
$a->install_mode
|
||||
|| !dba::$connected
|
||||
) {
|
||||
return;
|
||||
|
@ -709,7 +709,7 @@ function dlogger($msg, $level = 0) {
|
|||
|
||||
// turn off logger in install mode
|
||||
if (
|
||||
$a->module == 'install'
|
||||
$a->install_mode
|
||||
|| !dba::$connected
|
||||
) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue