mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:50:11 +00:00
Rework App modes
- Replace App mode constants with capability-based flags - Add App->isInstallMode() - Add file config fallback in (P)Config abstraction - Removed logger disabling code
This commit is contained in:
parent
d487c399dd
commit
cd9b864045
12 changed files with 74 additions and 79 deletions
|
@ -85,20 +85,6 @@ class System extends BaseObject
|
|||
return implode(', ', $callstack2);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Called from db initialisation when db is dead.
|
||||
*/
|
||||
static public function unavailable() {
|
||||
echo <<< EOT
|
||||
<html>
|
||||
<head><title>System Unavailable</title></head>
|
||||
<body>Apologies but this site is unavailable at the moment. Please try again later.</body>
|
||||
</html>
|
||||
EOT;
|
||||
|
||||
killme();
|
||||
}
|
||||
|
||||
/**
|
||||
* Generic XML return
|
||||
* Outputs a basic dfrn XML status structure to STDOUT, with a <status> variable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue