#!/bin/bash

. ${TOOLKIT}-functions.sh

case $(jtconf apache.confdir) in
   */conf-available)
	apache2_enable_conf ku-phpmyadmin ;;
esac

# cleanup old and standard definitions files
#
# remove symlink to standard phpldapadmin defines
# (we install a customized one, with correct Allows)
#
dir=/etc/apache2/conf.d
module=phpmyadmin

purgefiles $dir/$module $dir/$module.conf


$SOMETHING_CHANGED && {
	reload_service apache2	|| exit $?
}
exit 0
