]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Merge pull request #1269 from ArthurHoaro/feature/remove-redirector
authorArthurHoaro <arthur@hoa.ro>
Sun, 24 Feb 2019 10:29:56 +0000 (11:29 +0100)
committerGitHub <noreply@github.com>
Sun, 24 Feb 2019 10:29:56 +0000 (11:29 +0100)
Remove the redirector setting

1  2 
doc/md/Shaarli-configuration.md

index 0bb6c9f06aa86939ae1f0f2b313d7bf97e77c78b,8787f59daa0593983de0d16cf40bdc86be7621c8..a931ab1e783eb60cf2c810ee37ec38d01da22b76
@@@ -4,7 -4,7 +4,7 @@@
  
  Once your Shaarli instance is installed, the file `data/config.json.php` is generated:
  * it contains all settings in JSON format, and can be edited to customize values
 -* it defines which [plugins](Plugin-System) are enabled[](.html)
 +* it defines which [plugins](Plugin-System) are enabled
  * its values override those defined in `index.php`
  * it is wrap in a PHP comment to prevent anyone accessing it, regardless of server configuration
  
@@@ -32,13 -32,13 +32,13 @@@ On a Linux distribution
  - to give it access to Shaarli, either:
      - unzip Shaarli in the default web server location (usually `/var/www/`) and set the web server user as the owner
      - put users in the same group as the web server, and set the appropriate access rights
 -- if you have a domain / subdomain to serve Shaarli, [configure the server](Server-configuration) accordingly[](.html)
 +- if you have a domain / subdomain to serve Shaarli, [configure the server](Server-configuration) accordingly
  
  ## Configuration
  
  In `data/config.json.php`.
  
 -See also [Plugin System](Plugin-System.html).
 +See also [Plugin System](Plugin-System).
  
  ### Credentials
   
@@@ -120,11 -120,6 +120,6 @@@ Must be an associative array: `translat
  - **enable_thumbnails**: Enable or disable thumbnail display.  
  - **enable_localcache**: Enable or disable local cache.
  
- ### Redirector
- - **url**: Redirector URL, such as `anonym.to`.  
- - **encode_url**: Enable this if the redirector needs encoded URL to work properly.
  ## Configuration file example
  
  ```json
          "hide_public_links": false,
          "hide_timestamps": false,
          "open_shaarli": false,
-         "redirector": "http://anonym.to/?",
-         "redirector_encode_url": false
      },
      "general": {
          "header_link": "?",
          "enable_thumbnails": true,
          "enable_localcache": true
      },
-     "redirector": {
-         "url": "http://anonym.to/?",
-         "encode_url": false
-     },
      "plugins": {
          "WALLABAG_URL": "http://demo.wallabag.org",
          "WALLABAG_VERSION": "1"