workspace: add ionCube Loader enabled check
This commit is contained in:
parent
e718e2ee4d
commit
c393bf226b
@ -659,6 +659,7 @@ RUN if [ ${INSTALL_IONCUBE} = true ]; then \
|
|||||||
&& echo "zend_extension=ioncube_loader.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/ioncube.ini \
|
&& echo "zend_extension=ioncube_loader.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/ioncube.ini \
|
||||||
&& ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/ioncube.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/0ioncube.ini \
|
&& ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/ioncube.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/0ioncube.ini \
|
||||||
&& rm -rf /tmp/ioncube* \
|
&& rm -rf /tmp/ioncube* \
|
||||||
|
&& php -m | grep -oiE '^ionCube Loader$' \
|
||||||
;fi \
|
;fi \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user