We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ecf6c3e + e03651e commit be9a4b9Copy full SHA for be9a4b9
1 file changed
bin/v-change-web-domain-docroot
@@ -89,11 +89,11 @@ else
89
# Checking destination path
90
real_target_directory="$(readlink -e "${target_domain_directory}/public_html/$target_directory/")"
91
if [ -z "$(echo $real_target_directory | egrep "^$target_domain_directory\b")" ]; then
92
- check_result $E_FORBIDEN "Error: target dir outside of target domain dir"
+ check_result $E_FORBIDEN "Target dir outside of target domain dir"
93
fi
94
95
if [ ! -e "$real_target_directory" ]; then
96
- check_result $E_NOTEXIST "ERROR: Directory $target_directory does not exist under $HOMEDIR/$user/$target_domain/public_html/."
+ check_result $E_NOTEXIST "Directory $target_directory does not exist under $HOMEDIR/$user/$target_domain/public_html/."
97
else
98
CUSTOM_DOCROOT="$real_target_directory"
99
if [ ! -z "$php" ]; then
0 commit comments