|
|
@@ -11,14 +11,6 @@
|
|
|
# Variables & Functions #
|
|
|
#----------------------------------------------------------#
|
|
|
|
|
|
-# Argument definition
|
|
|
-domain=$(hostname -f);
|
|
|
-if [ -z $domain ]; then
|
|
|
- domain=$HOSTNAME;
|
|
|
-fi
|
|
|
-user="$($HESTIA/bin/v-search-domain-owner "$domain" web)"
|
|
|
-[[ -z "$user" ]] && user="admin"
|
|
|
-
|
|
|
# Includes
|
|
|
# shellcheck source=/etc/hestiacp/hestia.conf
|
|
|
source /etc/hestiacp/hestia.conf
|
|
|
@@ -32,6 +24,14 @@ source_conf "$HESTIA/conf/hestia.conf"
|
|
|
# Perform verification if read-only mode is enabled
|
|
|
check_hestia_demo_mode
|
|
|
|
|
|
+# Argument definition
|
|
|
+domain=$(hostname -f);
|
|
|
+if [ -z $domain ]; then
|
|
|
+ domain=$HOSTNAME;
|
|
|
+fi
|
|
|
+user="$($HESTIA/bin/v-search-domain-owner "$domain" web)"
|
|
|
+[[ -z "$user" ]] && user="admin"
|
|
|
+
|
|
|
#----------------------------------------------------------#
|
|
|
# Verifications #
|
|
|
#----------------------------------------------------------#
|