add exif, fixes #20.

This commit is contained in:
Miroslav Šedivý 2021-08-09 17:53:58 +02:00
parent 9f5393fac5
commit 477912bdbf
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ RUN set -eux; apt-get update; \
--with-jpeg --with-webp --with-xpm --with-freetype; \
#
# install extensions
docker-php-ext-install curl gd pdo pdo_mysql; \
docker-php-ext-install curl gd pdo pdo_mysql exif; \
#
# set up environment
a2enmod rewrite;

View File

@ -17,7 +17,7 @@ if(Config::get_safe('debug', false)){
error_reporting(E_ALL);
// Check extensions
$required = ['curl', 'PDO', 'pdo_mysql', 'gd'];
$required = ['curl', 'PDO', 'pdo_mysql', 'gd', 'exif'];
$loaded = get_loaded_extensions();
if($missing = array_diff($required, $loaded)){
die("Missing extensions, please install: ".implode(", ", $missing));