Move from putey.net to brepo.ru
This commit is contained in:
@@ -108,8 +108,12 @@ prepare_web_backend() {
|
||||
pool=$(find -L /etc/php/ -name "$domain.conf" -exec dirname {} \;)
|
||||
fi
|
||||
# Check if multiple-PHP installed
|
||||
regex="socket-(\d+)_(\d+)"
|
||||
if [[ $backend_template =~ ^.*PHP-([0-9])\_([0-9])$ ]]; then
|
||||
if [ -f "/etc/redhat-release" ]; then
|
||||
regex="^.*PHP-([0-9])([0-9])$"
|
||||
else
|
||||
regex="^.*PHP-([0-9])\_([0-9])$"
|
||||
fi
|
||||
if [[ $backend_template =~ $regex ]]; then
|
||||
if [ -f "/etc/redhat-release" ]; then
|
||||
backend_version="${BASH_REMATCH[1]}${BASH_REMATCH[2]}"
|
||||
pool=$(find -L /etc/opt/remi/php$backend_version -type d \( -name "pool.d" -o -name "*fpm.d" \))
|
||||
|
||||
@@ -28,7 +28,7 @@ MAILTPL=$HESTIA/data/templates/mail
|
||||
DNSTPL=$HESTIA/data/templates/dns
|
||||
RRD=$HESTIA/web/rrd
|
||||
SENDMAIL="$HESTIA/web/inc/mail-wrapper.php"
|
||||
HESTIA_GIT_REPO="https://dev.putey.net/bayrepo/hestiacp"
|
||||
HESTIA_GIT_REPO="https://dev.brepo.ru/bayrepo/hestiacp"
|
||||
HESTIA_THEMES="$HESTIA/web/css/themes"
|
||||
HESTIA_THEMES_CUSTOM="$HESTIA/web/css/themes/custom"
|
||||
SCRIPT="$(basename $0)"
|
||||
|
||||
Reference in New Issue
Block a user