Move snippet snippet-get-php-major-version into snippet dir and also rename it to 'get-php-major-version'.

This commit is contained in:
2023-08-02 13:13:13 +02:00
parent c0ea4fa6d4
commit f244232347
18 changed files with 57 additions and 31 deletions

View File

@ -6,6 +6,7 @@ script_name="$(basename $(realpath $0))"
script_dir="$(dirname $(realpath $0))"
conf_dir="${script_dir}/conf"
snippet_dir="${script_dir}/snippets"
declare -a unsorted_website_arr
declare -a website_arr
@ -412,7 +413,7 @@ fi
# Check PHP Version
#
source ${script_dir}/snippet-get-php-major-version
source ${snippet_dir}/get-php-major-version
echo ""
echo -e " \033[32m--\033[m"