Преглед изворни кода

Add demo mode verification for modular multiphp.

Raphael Schneeberger пре 6 година
родитељ
комит
28f01a12a9
2 измењених фајлова са 7 додато и 0 уклоњено
  1. 4 0
      bin/v-add-web-php
  2. 3 0
      bin/v-delete-web-php

+ 4 - 0
bin/v-add-web-php

@@ -44,6 +44,10 @@ if [ ! -f "$HESTIA_INSTALL_DIR/multiphp/$WEB_SYSTEM/PHP-${version//.}.sh" ]; the
     exit
 fi
 
+# Perform verification if read-only mode is enabled
+check_hestia_demo_mode
+
+
 #----------------------------------------------------------#
 #                       Action                             #
 #----------------------------------------------------------#

+ 3 - 0
bin/v-delete-web-php

@@ -41,6 +41,9 @@ if [ ! -f "$php_fpm" ] && [ ! -f "$HESTIA/data/templates/$WEB_SYSTEM/PHP-$versio
     exit
 fi
 
+# Perform verification if read-only mode is enabled
+check_hestia_demo_mode
+
 
 #----------------------------------------------------------#
 #                       Action                             #