removing phpmyadmin apache conf

This commit is contained in:
Benjamin Sonntag 2015-04-20 20:38:58 +02:00
parent 1ebec32e12
commit 615cadaa07
1 changed files with 3 additions and 0 deletions

View File

@ -427,6 +427,9 @@ done
OLDDESTINATION=`postconf mydestination | awk -F '=' '{print $2}'`
echo "$OLDDESTINATION" | grep -q -v "$FQDN" && postconf -e "mydestination = $FQDN, $OLDDESTINATION"
# Remove phpmyadmin apache2 configuration
rm -f /etc/apache2/conf.d/phpmyadmin.conf || true
# Configure PHPMyAdmin
include_str='include("/etc/alternc/phpmyadmin.inc.php")'
pma_config='/etc/phpmyadmin/config.inc.php'