]> jfr.im git - uguu.git/commitdiff
Update README.md
authornokonoko <redacted>
Wed, 18 Nov 2020 12:41:27 +0000 (13:41 +0100)
committernokonoko <redacted>
Wed, 18 Nov 2020 12:41:27 +0000 (13:41 +0100)
README.md

index d9ae40144f9645284efce940f17ca2459d838fa3..eaf0ac58d5aa9613d11d43e3ba25c459973c12df 100644 (file)
--- 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,