File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22# info: change phpmyadmin alias url
33# options: PMA
44#
5- # The function is to change the phpmyadmin url in apache2 or nginx configuration.
5+ # This function changes the phpmyadmin url in apache2 or nginx configuration.
66
77
88# ----------------------------------------------------------#
9- # Variable&Function #
9+ # Variable&Functions #
1010# ----------------------------------------------------------#
1111
1212# Argument definition
@@ -38,7 +38,7 @@ if [ -f /etc/nginx/conf.d/phpmyadmin.inc ]; then
3838 nginx_pma=$( cat /etc/nginx/conf.d/phpmyadmin.inc | grep " location" | { IFS=' ' ; read -r -a array; echo " ${array[1]} " ; })
3939fi
4040
41- # Check if alias is different for apach2
41+ # Check if alias is different for apache2
4242if [ -z " $apache_pma " ]; then
4343 if [ ! " $apache_pma " = " $PMA " ]; then
4444 # Replace pma alias in config files.
You can’t perform that action at this time.
0 commit comments