Skip to content

Commit 81c8e2c

Browse files
authored
Fix v-add-sys-phpmyadmin failed (hestiacp#2336)
1 parent 984af65 commit 81c8e2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-sys-phpmailer

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

6868
openssl_installed=$(/usr/local/hestia/php/bin/php -m | grep openssl);
69-
if [ -z "$openssl_version" ]; then
69+
if [ -z "$openssl_installed" ]; then
7070
COMPOSER_HOME="$HOMEDIR/$user/.config/composer" user_exec /usr/bin/php $COMPOSER_BIN --quiet --no-dev install
7171
else
7272
COMPOSER_HOME="$HOMEDIR/$user/.config/composer" user_exec /usr/local/hestia/php/bin/php $COMPOSER_BIN --quiet --no-dev install

0 commit comments

Comments
 (0)