Skip to content

Commit 19ce387

Browse files
Update v-change-sys-pma
1 parent 230a060 commit 19ce387

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/v-change-sys-pma

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
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]}"; })
3939
fi
4040

41-
# Check if alias is different for apach2
41+
# Check if alias is different for apache2
4242
if [ -z "$apache_pma" ]; then
4343
if [ ! "$apache_pma" = "$PMA" ]; then
4444
# Replace pma alias in config files.

0 commit comments

Comments
 (0)