From 0ed9396bfa12f086369b52cdc0742e3fe72273ec Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 9 Feb 2019 13:05:37 +0100 Subject: Fix thumbnails disabling if PHP GD is not installed --- application/Thumbnailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $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( -- cgit v1.2.3