Commit 21d000df authored by Jake Ovenden's avatar Jake Ovenden

changes to documentation

parent 61febe66
......@@ -6,6 +6,10 @@ summary: Considerations and steps to keep your website secure.
This section describes security considerations, as well as additional steps that may be taken to further secure a
website.
### API endpoint
By default the SilverStripe API endpoint is exposed publicly, to lock down access to the API endpoint you can add `Config::inst()->remove('BasePage', 'api_access');Config::inst()->remove('BasePage', 'api_access');` to your `_config.php` file.
## User login considerations
### Login auto-completion
......
title: Basic usable of Solr search
title: Basic usage of Solr search
summary: Gives an understanding of basic use of Solr.
# Basic usage of Solr search
......@@ -140,4 +140,4 @@ prevent any unknown indexes from being automatically included.
FullTextSearch:
indexes:
- MyReplacementIndex
- CoreSearchIndex
\ No newline at end of file
- CoreSearchIndex
......@@ -138,8 +138,7 @@ is available describing the different parameters you can use with `wkhtmltopdf`.
## Scheduled tasks
Each night, `CleanupGeneratedPdfDailyTask` is run which removes all files found within the generated PDFs folder
`assets/_generated_pdfs`. The code for this can be found in the `cwp` module within the `tasks` directory.
If you require the generated PDFs to be cleaned up on a regular basis, please contact support to set up `CleanupGeneratedPdfBuildTask` as a cron task.
This task can be run from the browser on demand by accessing `dev/tasks/CleanupGeneratedPdfBuildTask`.
One example of where this is useful might be directly after deploying new templates to the site, so the cached
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment