2017-04-15 23:16:20 +02:00
|
|
|
<?php
|
|
|
|
|
2018-04-18 19:03:39 +02:00
|
|
|
# Login credentials
|
2018-07-12 19:12:31 +02:00
|
|
|
Setting('HTTP_USER', 'admin');
|
|
|
|
Setting('HTTP_PASSWORD', 'admin');
|
2018-04-18 19:03:39 +02:00
|
|
|
|
|
|
|
# Either "production" or "dev"
|
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
|
|
|
|
|
|
|
# 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);
|