X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2FShaarli-configuration.md;h=d0560d793edf5b43879b9035f82a72d2e44eefd5;hb=5409ade28c5f0acf99dbadd4d95e6f8efda5d395;hp=5bf70a625630ff7cef8928563dbdd712106242b7;hpb=9f400b0dad68b82d65692bd6ab6190f6a787fa89;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/Shaarli-configuration.md b/doc/Shaarli-configuration.md index 5bf70a62..d0560d79 100644 --- a/doc/Shaarli-configuration.md +++ b/doc/Shaarli-configuration.md @@ -5,17 +5,18 @@ Once your Shaarli instance is installed, the file `data/config.php` is generated: * it contains all settings, and can be edited to customize values +* it defines which [plugins](Plugin-System) are enabled[](.html) * its values override those defined in `index.php` ## File and directory permissions The server process running Shaarli must have: - `read` access to the following resources: - - PHP scripts: `index.php`, `application/*.php` - - 3rd party PHP and Javascript libraries: `inc/*.php`, `inc\*.js` + - PHP scripts: `index.php`, `application/*.php`, `plugins/*.php` + - 3rd party PHP and Javascript libraries: `inc/*.php`, `inc/*.js` - static assets: - - CSS stylesheets: `inc\*.css` - - `images\*` - - RainTPL templates: `tpl\*.html` + - CSS stylesheets: `inc/*.css` + - `images/*` + - RainTPL templates: `tpl/*.html` - `read`, `write` and `execution` access to the following directories: - `cache` - thumbnail cache - `data` - link data store, configuration options @@ -31,6 +32,8 @@ On a Linux distribution: - if you have a domain / subdomain to serve Shaarli, [configure the server](Server-configuration) accordingly[](.html) ## Example `data/config.php` +See also [Plugin System](Plugin-System.html). + ```php ``` + +## Additional configuration + +The playvideos plugin may require that you adapt your server's [Content Security Policy](https://github.com/shaarli/Shaarli/blob/master/plugins/playvideos/README.md#troubleshooting) configuration to work properly.[](.html)