diff options
Diffstat (limited to 'dev-db/phpmyadmin/files/reconfig')
-rw-r--r-- | dev-db/phpmyadmin/files/reconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-db/phpmyadmin/files/reconfig b/dev-db/phpmyadmin/files/reconfig new file mode 100644 index 000000000000..56998b47a1f2 --- /dev/null +++ b/dev-db/phpmyadmin/files/reconfig @@ -0,0 +1,8 @@ +#!/bin/bash +if [ $1 = "install" ]; then + cd ${MY_INSTALLDIR} + sed -e "s|\$cfg\['PmaAbsoluteUri'\] = '';|\$cfg\['PmaAbsoluteUri'\] = 'http://${VHOST_HOSTNAME}${VHOST_APPDIR}';|g" -i config.inc.php + +elif [ $1 = "clean" ]; then + echo $1 +fi |