]> 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

application/Thumbnailer.php
assets/default/scss/shaarli.scss
doc/md/Shaarli-configuration.md

index a23f98e9df226204efeb5166bc5e3bbab4f348c9..d5f5ac2828b61026fb5fbc68f8db1f00cd37b182 100644 (file)
@@ -55,7 +55,7 @@ class Thumbnailer
         $this->conf = $conf;
 
         if (! $this->checkRequirements()) {
-            $this->conf->set('thumbnails.enabled', false);
+            $this->conf->set('thumbnails.mode', Thumbnailer::MODE_NONE);
             $this->conf->write(true);
             // TODO: create a proper error handling system able to catch exceptions...
             die(t(
index 760d8d6ab7272a5d8c929ccb8425fc5a8f7f054d..691b2b37fdb060e303003e9679ae9e828a67daac 100644 (file)
@@ -544,7 +544,10 @@ body,
   color: $dark-grey;
   font-size: .9em;
 
+
   a {
+    display: inline-block;
+    margin: 3px 0;
     padding: 5px 8px;
     text-decoration: none;
   }
index 8787f59daa0593983de0d16cf40bdc86be7621c8..a931ab1e783eb60cf2c810ee37ec38d01da22b76 100644 (file)
@@ -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 @@ 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