We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ac24b0 commit c817c99Copy full SHA for c817c99
bin/v-change-sys-pma
@@ -23,6 +23,10 @@ source $HESTIA/conf/hestia.conf
23
24
check_args '1' "$#" 'PMA'
25
26
+# Check if string has leading /
27
+if [[ ! ${PMA:0:1} == "/" ]]; then
28
+ PMA="/$PMA"
29
+fi
30
31
#----------------------------------------------------------#
32
# Action #
bin/v-change-sys-webmail
check_args '1' "$#" 'WEBMAIL'
+if [[ ! ${WEBMAIL:0:1} == "/" ]]; then
+ WEBMAIL="/$WEBMAIL"
0 commit comments