Handle demo mode via a setting instead of checking the existence of a file (closes #484)

This commit is contained in:
Bernd Bestel
2020-01-05 09:11:11 +01:00
parent 539334f5ee
commit a8cf5ae9ab
7 changed files with 14 additions and 20 deletions

View File

@@ -15,7 +15,8 @@
# Either "production", "dev", "demo" or "prerelease"
# ("demo" and "prerelease" is reserved to be used only on the offical demo instances)
# When not "production", authentication will be disabled and
# demo data will be populated during database migrations
Setting('MODE', 'production');
# Either "en" or "de" or the directory name of