Skip to content

Commit e9dd7e6

Browse files
authored
Remove /install/deb/multiphp folder (hestiacp#2829)
* Remove never used templates files * /install/deb/multiphp/{web}/xxxx.tpl Has been replaced by a better method over 2 years ago. It was only used by v-add-web-php to see if we support this version or not Has been replaced by updating upgrade.conf listing all supported php versions instead * Not used anymore Moved to /web/css/src/
1 parent b6baa15 commit e9dd7e6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+9
-4916
lines changed

bin/v-add-web-php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ source /etc/hestiacp/hestia.conf
2020
source $HESTIA/func/main.sh
2121
# load config file
2222
source_conf "$HESTIA/conf/hestia.conf"
23-
23+
source_conf "$HESTIA/install/upgrade/upgrade.conf"
2424
#----------------------------------------------------------#
2525
# Verifications #
2626
#----------------------------------------------------------#
@@ -48,7 +48,7 @@ if [ -f "$php_fpm" ] && [ -f "$HESTIA/data/templates/web/php-fpm/PHP-${version/\
4848
fi
4949

5050
# Check if php version is supported
51-
if [ ! -f "$HESTIA_INSTALL_DIR/multiphp/$WEB_SYSTEM/PHP-${version//.}.sh" ]; then
51+
if [[ ! "$multiphp_v" =~ "$version" ]]; then
5252
echo "ERROR: Specified PHP version is not supported or does not exist."
5353
exit "$E_INVALID";
5454
fi

install/deb/multiphp/apache2/PHP-56.sh

Lines changed: 0 additions & 91 deletions
This file was deleted.

install/deb/multiphp/apache2/PHP-56.stpl

Lines changed: 0 additions & 36 deletions
This file was deleted.

install/deb/multiphp/apache2/PHP-56.tpl

Lines changed: 0 additions & 33 deletions
This file was deleted.

install/deb/multiphp/apache2/PHP-70.sh

Lines changed: 0 additions & 91 deletions
This file was deleted.

install/deb/multiphp/apache2/PHP-70.stpl

Lines changed: 0 additions & 36 deletions
This file was deleted.

install/deb/multiphp/apache2/PHP-70.tpl

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)