mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Added new config.php setting for subdirectory base path (closes #568)
This commit is contained in:
@@ -37,6 +37,13 @@ Setting('CALENDAR_SHOW_WEEK_OF_YEAR', true);
|
||||
# ISO 4217 code of the currency ("USD", "EUR", "GBP", etc.)
|
||||
Setting('CURRENCY', 'USD');
|
||||
|
||||
# When running grocy in a subdirectory, this should be set to the relative path, otherwise empty
|
||||
# Example:
|
||||
# Webserver root directory = /var/www
|
||||
# grocy directory = /var/www/grocy
|
||||
# => BASE_PATH = /grocy
|
||||
Setting('BASE_PATH', '');
|
||||
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user