2017-04-15 23:16:20 +02:00
< ? php
2018-09-25 08:55:25 +02:00
# Either "production", "dev" or "prerelease"
2018-07-12 19:12:31 +02:00
Setting ( 'MODE' , 'production' );
2018-04-18 19:03:39 +02:00
# Either "en" or "de" or the filename (without extension) of
# one of the other available localization files in the "/localization" directory
2018-07-12 19:12:31 +02:00
Setting ( 'CULTURE' , 'en' );
2018-04-18 19:03:39 +02:00
2018-09-30 03:31:16 -04:00
# To keep it simple: grocy does not handle any currency conversions,
2018-07-26 20:27:38 +02:00
# this here is used to format all money values,
# so can be anything (e. g. "USD" OR "$", doesn't matter...)
Setting ( 'CURRENCY' , '$' );
2018-04-18 19:03:39 +02:00
# The base url of your installation,
# should be just "/" when running directly under the root of a (sub)domain
# or for example "https:/example.com/grocy" when using a subdirectory
2018-07-12 19:12:31 +02:00
Setting ( 'BASE_URL' , '/' );
2018-04-22 19:47:46 +02:00
# The plugin to use for external barcode lookups,
# must be the filename without .php extension and must be located in /data/plugins,
# see /data/plugins/DemoBarcodeLookupPlugin.php for an example implementation
2018-07-12 19:12:31 +02:00
Setting ( 'STOCK_BARCODE_LOOKUP_PLUGIN' , 'DemoBarcodeLookupPlugin' );
2018-06-15 20:50:40 +02:00
# If, however, your webserver does not support URL rewriting,
# set this to true
2018-07-12 19:12:31 +02:00
Setting ( 'DISABLE_URL_REWRITING' , false );
2018-09-30 17:14:04 +02:00
# Default user settings
# These settings can be changed per user, here the defaults
# are defined which are used when the user has not changed the setting so far
# Night mode related
DefaultUserSetting ( 'night_mode_enabled' , false ); // If night mode is enabled always
DefaultUserSetting ( 'auto_night_mode_enabled' , false ); // If night mode is enabled automatically when inside a given time range (see the two settings below)
DefaultUserSetting ( 'auto_night_mode_time_range_from' , " 20:00 " ); // Format HH:mm
DefaultUserSetting ( 'auto_night_mode_time_range_to' , " 07:00 " ); // Format HH:mm
2018-09-30 18:02:59 +02:00
DefaultUserSetting ( 'auto_night_mode_time_range_goes_over_midnight' , true ); // If the time range above goes over midnight
2018-09-30 17:14:04 +02:00
# If the page should be automatically reloaded when there was
# an external change
DefaultUserSetting ( 'auto_reload_on_db_change' , true );