Skip to content

Commit 28f01a1

Browse files
committed
Add demo mode verification for modular multiphp.
1 parent f40f7c9 commit 28f01a1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

bin/v-add-web-php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ if [ ! -f "$HESTIA_INSTALL_DIR/multiphp/$WEB_SYSTEM/PHP-${version//.}.sh" ]; the
4444
exit
4545
fi
4646

47+
# Perform verification if read-only mode is enabled
48+
check_hestia_demo_mode
49+
50+
4751
#----------------------------------------------------------#
4852
# Action #
4953
#----------------------------------------------------------#

bin/v-delete-web-php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ if [ ! -f "$php_fpm" ] && [ ! -f "$HESTIA/data/templates/$WEB_SYSTEM/PHP-$versio
4141
exit
4242
fi
4343

44+
# Perform verification if read-only mode is enabled
45+
check_hestia_demo_mode
46+
4447

4548
#----------------------------------------------------------#
4649
# Action #

0 commit comments

Comments
 (0)