From 4e2b7d3508b70e92af1aa60f6f65f609ceeaed34 Mon Sep 17 00:00:00 2001 From: nokonoko Date: Wed, 18 Nov 2020 13:41:27 +0100 Subject: [PATCH] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d9ae401..eaf0ac5 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,12 @@ file size, are found in `dist.json`. Changes made here will only take effect after rebuilding the site pages. This may be done by running `make` from the root of the site directory. -Back-end related settings, such as database configuration, and path for uploaded files, are found in `static/php/includes/settings.inc.php`. Changes made here take effect immediately. +Back-end related settings, such as database configuration, and path for uploaded files, are found in `static/php/includes/settings.inc.php`. Changes made here take effect immediately. Change the following settings: +```php +define('UGUU_DB_CONN', 'sqlite:/path/to/db/uguu.sq3'); +define('UGUU_FILES_ROOT', '/path/to/file/'); +define('UGUU_URL', 'https://subdomainforyourfiles.your.site'); +``` If you intend to allow uploading files larger than 2 MB, you may also need to increase POST size limits in `php.ini` and webserver configuration. For PHP,