Skip to content

Commit e3b293a

Browse files
committed
Use hestia-php instead
1 parent e334204 commit e3b293a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/v-add-sys-filemanager

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ cp --recursive --force ${HESTIA_INSTALL_DIR}/filemanager/filegator/* "${FM_INSTA
7878

7979
chown $user: -R "${FM_INSTALL_DIR}"
8080

81-
COMPOSER_HOME="$HOMEDIR/$user/.config/composer" user_exec /usr/bin/php $COMPOSER_BIN --quiet --no-dev install
81+
COMPOSER_HOME="$HOMEDIR/$user/.config/composer" user_exec /usr/local/hestia/php/bin/php $COMPOSER_BIN --quiet --no-dev install
8282

8383
# Check if installation was successful, if not abort script and throw error message notification and clean-up
8484
if [ $? -ne 0 ]; then

bin/v-add-sys-phpmailer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ rm --recursive --force ${PM_INSTALL_DIR}/vendor
6565
mkdir -p ${PM_INSTALL_DIR}/vendor
6666
chown $user: -R ${PM_INSTALL_DIR}/vendor
6767

68-
COMPOSER_HOME="$HOMEDIR/$user/.config/composer" user_exec /usr/bin/php $COMPOSER_BIN --quiet --no-dev install
68+
COMPOSER_HOME="$HOMEDIR/$user/.config/composer" user_exec /usr/local/hestia/php/bin/php $COMPOSER_BIN --quiet --no-dev install
6969

7070
# Check if installation was successful, if not abort script and throw error message notification and clean-up
7171
if [ $? -ne 0 ]; then

0 commit comments

Comments
 (0)