From d8f3db5cb0c665a66ddc5ae7f0af2ec37c2dd0b5 Mon Sep 17 00:00:00 2001 From: akpu1 Date: Sat, 18 Jun 2016 15:13:38 +1000 Subject: Updated readme to clarify front and back end settings --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5ebf9f3..c8bbea3 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,9 @@ After this, the pomf site is now compressed and set up inside `dist/`. ## Configuring -The majority of the settings are in `static/includes/settings.inc.php`. +Front-end related settings, such as the name of the site, and maximum allowable file size, are found in `templates/site_variables.json`. Changes made here will only take effect after rebuilding the site pages. This may be done by running `grunt` from the root of the site directory. -For file size configuration, open `Gruntfile.js` in an editor and modify the -`max_upload_size` value. The value is expressed in mebibytes (MiB). Run `grunt` -again to rebuild the pages for the changes to take effect. +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. 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, -- cgit v1.2.3