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-07-26 20:27:38 +02:00
|
|
|
# To keep it simpel, grocy does not handle any currency conversions,
|
|
|
|
# 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);
|