mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-12-04 10:28:05 +01:00
Simplify configuration
This commit is contained in:
parent
4b24eb6110
commit
7306861194
@ -1016,10 +1016,8 @@ installModuleFromSource() {
|
|||||||
cd - >/dev/null
|
cd - >/dev/null
|
||||||
docker-php-ext-enable "$1"
|
docker-php-ext-enable "$1"
|
||||||
case "$1" in
|
case "$1" in
|
||||||
snuffleupagus) # otherwise php -m will be empty
|
snuffleupagus)
|
||||||
printf '%s\n%s\n' 'extension=snuffleupagus.so' \
|
printf 'sp.configuration_file=%s\n' "$PHP_INI_DIR/conf.d/snuffleupagus.rules" >> "$PHP_INI_DIR/conf.d/docker-php-ext-snuffleupagus.ini"
|
||||||
'sp.configuration_file=/usr/local/etc/php/conf.d/snuffleupagus.rules' \
|
|
||||||
>/usr/local/etc/php/conf.d/docker-php-ext-snuffleupagus.ini
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user