add exif, fixes #20.
This commit is contained in:
parent
9f5393fac5
commit
477912bdbf
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue