mirror of
https://github.com/getformwork/formwork.git
synced 2025-01-17 13:38:22 +01:00
Update exception message in Image::initialize()
This commit is contained in:
parent
68234623c8
commit
7da121a2a0
@ -608,7 +608,7 @@ class Image extends File
|
||||
protected function initialize(): void
|
||||
{
|
||||
if (!extension_loaded('gd')) {
|
||||
throw new RuntimeException('GD extension not loaded');
|
||||
throw new RuntimeException('Class ' . static::class . ' requires the extension "gd" to be enabled');
|
||||
}
|
||||
|
||||
if (!FileSystem::isReadable($this->path)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user