Add a App-Mode with defined constants
authorPhilipp Holzer <admin@philipp.info>
Fri, 27 Apr 2018 19:07:04 +0000 (21:07 +0200)
committerPhilipp Holzer <admin@philipp.info>
Fri, 27 Apr 2018 19:07:04 +0000 (21:07 +0200)
commitd5b68cd146c722706663ffd30562668dbdcea4b1
tree6a6fcd310640528f3bf1a4a578e22c5d4b844f1d
parent6973aaefc205b286cd7b465ff162042c20ea2b15
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
include/dba.php
include/text.php
index.php
src/App.php
src/Core/Install.php