aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/Thumbnailer.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2019-04-16 00:24:30 +0200
committerVirtualTam <virtualtam@flibidi.net>2019-04-16 00:24:30 +0200
commit1aa24ed8d2974cda98733f74b36844b02942cc11 (patch)
treeda122008ee7562236cce6dcac28a4277f596efb5 /application/Thumbnailer.php
parentaf22c1ae3adb7a0705814bb7c4d75c9e2aa26a0e (diff)
parent1e77e0448bbd25675d8c0fe4a73206ad9048904b (diff)
downloadShaarli-1aa24ed8d2974cda98733f74b36844b02942cc11.tar.gz
Shaarli-1aa24ed8d2974cda98733f74b36844b02942cc11.tar.zst
Shaarli-1aa24ed8d2974cda98733f74b36844b02942cc11.zip
Merge tag 'v0.10.4' into latest
Release v0.10.4
Diffstat (limited to 'application/Thumbnailer.php')
-rw-r--r--application/Thumbnailer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/Thumbnailer.php b/application/Thumbnailer.php
index 37ed97a1..167d6296 100644
--- a/application/Thumbnailer.php
+++ b/application/Thumbnailer.php
@@ -55,7 +55,7 @@ class Thumbnailer
55 $this->conf = $conf; 55 $this->conf = $conf;
56 56
57 if (! $this->checkRequirements()) { 57 if (! $this->checkRequirements()) {
58 $this->conf->set('thumbnails.enabled', false); 58 $this->conf->set('thumbnails.mode', Thumbnailer::MODE_NONE);
59 $this->conf->write(true); 59 $this->conf->write(true);
60 // TODO: create a proper error handling system able to catch exceptions... 60 // TODO: create a proper error handling system able to catch exceptions...
61 die(t( 61 die(t(