Merge pull request #7 from linuxserver/fix-config

This commit is contained in:
Adam 2022-05-12 23:03:58 +01:00 committed by GitHub
commit affe5b3eed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ RUN \
tar xf \
/tmp/phpmyadmin.tar.xz -C \
/app/phpmyadmin/ --strip-components=1 && \
sed -i "s@define('CONFIG_DIR'.*@define('CONFIG_DIR', '/config/phpmyadmin/');@" "/app/phpmyadmin/libraries/vendor_config.php" && \
sed -i "s@'configFile' =>.*@'configFile' => '/config/phpmyadmin/config.inc.php',@" "/app/phpmyadmin/libraries/vendor_config.php" && \
sed -i 's@;clear_env = no@clear_env = no@' "/etc/php7/php-fpm.d/www.conf" && \
rm -rf \
/tmp/*

View File

@ -56,7 +56,7 @@ RUN \
tar xf \
/tmp/phpmyadmin.tar.xz -C \
/app/phpmyadmin/ --strip-components=1 && \
sed -i "s@define('CONFIG_DIR'.*@define('CONFIG_DIR', '/config/phpmyadmin/');@" "/app/phpmyadmin/libraries/vendor_config.php" && \
sed -i "s@'configFile' =>.*@'configFile' => '/config/phpmyadmin/config.inc.php',@" "/app/phpmyadmin/libraries/vendor_config.php" && \
sed -i 's@;clear_env = no@clear_env = no@' "/etc/php7/php-fpm.d/www.conf" && \
rm -rf \
/tmp/*

View File

@ -56,7 +56,7 @@ RUN \
tar xf \
/tmp/phpmyadmin.tar.xz -C \
/app/phpmyadmin/ --strip-components=1 && \
sed -i "s@define('CONFIG_DIR'.*@define('CONFIG_DIR', '/config/phpmyadmin/');@" "/app/phpmyadmin/libraries/vendor_config.php" && \
sed -i "s@'configFile' =>.*@'configFile' => '/config/phpmyadmin/config.inc.php',@" "/app/phpmyadmin/libraries/vendor_config.php" && \
sed -i 's@;clear_env = no@clear_env = no@' "/etc/php7/php-fpm.d/www.conf" && \
rm -rf \
/tmp/*