Skip to content

Commit 198ec1b

Browse files
committed
Fixed Issue #251
1 parent 0a3ad99 commit 198ec1b

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

usr/local/sbin/easyengine

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -530,21 +530,14 @@ INSTALLPMA()
530530
then
531531
if [ ! -d /var/www/22222/htdocs/db/pma ]
532532
then
533-
echo -e "\033[34mDownloading phpMyAdmin, Please Wait...\e[0m"
533+
echo -e "\033[34mCloning phpMyAdmin, Please Wait...\e[0m"
534534

535535
# Setup PMA/phpMyAdmin
536536
mkdir -p /var/www/22222/htdocs/db/pma/ || OwnError "Unable To Create phpMyAdmin Directory: /var/www/22222/htdocs/db/pma/"
537537

538-
# Download PMA/phpMyAdmin
539-
wget --no-check-certificate -cqO /var/www/22222/htdocs/db/pma/pma.tar.gz http://dl.cihar.com/phpMyAdmin/master/phpMyAdmin-master-latest.tar.gz \
540-
|| OwnError "Unable To Download phpMyAdmin"
541-
542-
# Extract PMA/phpMyAdmin
543-
tar --strip-components=1 -zxf /var/www/22222/htdocs/db/pma/pma.tar.gz -C /var/www/22222/htdocs/db/pma/ \
544-
|| OwnError "Unable To Extract phpMyAdmin"
545-
546-
# Remove Unwanted Files
547-
rm -f /var/www/22222/htdocs/db/pma/pma.tar.gz
538+
# Clone PMA/phpMyAdmin Stable Branch
539+
git clone -b STABLE https://github.com/phpmyadmin/phpmyadmin.git /var/www/22222/htdocs/db/pma/ &>> $INSTALLLOG \
540+
|| OwnError "Unable To Clone phpMyAdmin"
548541

549542
fi
550543

0 commit comments

Comments
 (0)