mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Add a App-Mode with defined constants
- Normal Mode = 0 - Install Mode = 1 - Maintenance Mode = 2 Moved Install-Mode check to class `App` Replaced all maintenance and install checks with $a->mode checks
This commit is contained in:
parent
6973aaefc2
commit
d5b68cd146
5 changed files with 27 additions and 22 deletions
|
@ -93,6 +93,7 @@ class dba {
|
|||
|
||||
// No suitable SQL driver was found.
|
||||
if (!self::$connected) {
|
||||
self::$driver = null;
|
||||
self::$db = null;
|
||||
}
|
||||
$a->save_timestamp($stamp1, "network");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue