Skip to content

Commit 207a482

Browse files
committed
Merge branch 'main' into staging/1.6.3
2 parents fef4ee4 + b010b40 commit 207a482

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

bin/v-add-web-php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ source_conf "$HESTIA/conf/hestia.conf"
2727

2828
check_args '1' "$#" 'VERSION'
2929

30+
if [ -z "$WEB_BACKEND" ]; then
31+
echo "Multiple php versions are not supported for modphp"
32+
fi
33+
3034
# Set file locations
3135
php_fpm="/etc/init.d/php$version-fpm"
3236

bin/v-delete-web-php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ source_conf "$HESTIA/conf/hestia.conf"
2828

2929
check_args '1' "$#" 'VERSION'
3030

31+
if [ -z "$WEB_BACKEND" ]; then
32+
echo "Multiple php versions are not supported for modphp"
33+
fi
34+
3135
# Set file locations
3236
php_fpm="/etc/init.d/php$version-fpm"
3337

0 commit comments

Comments
 (0)