Set IsDemoApp option as an .ENV variable

This commit is contained in:
Bubka 2020-03-18 18:37:57 +01:00
parent 88b029bed4
commit 6cdf4cf207
2 changed files with 7 additions and 1 deletions

View File

@ -32,6 +32,12 @@ APP_KEY=SomeRandomStringOf32CharsExactly
APP_URL=http://localhost
# Turn this to true if you want your app to react like a demo.
# The Demo mode reset the app content every hours and set a generic demo user.
IS_DEMO_APP=false
# The log channel defines where your log entries go to.
# 'daily' is the default logging mode giving you 5 daily rotated log files in /storage/logs/.
# Several other options exist. You can use 'single' for one big fat error log (not recommended).

View File

@ -32,7 +32,7 @@
*/
'options' => [
'isDemoApp' => false,
'isDemoApp' => env('IS_DEMO_APP', false),
'showTokenAsDot' => false,
],