diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index c586654a..08e06aef 100644 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -530,14 +530,21 @@ INSTALLPMA() then if [ ! -d /var/www/22222/htdocs/db/pma ] then - echo -e "\033[34mCloning phpMyAdmin, Please Wait...\e[0m" + echo -e "\033[34mDownloading phpMyAdmin, Please Wait...\e[0m" # Setup PMA/phpMyAdmin mkdir -p /var/www/22222/htdocs/db/pma/ || OwnError "Unable To Create phpMyAdmin Directory: /var/www/22222/htdocs/db/pma/" - # Clone PMA/phpMyAdmin Stable Branch - git clone -b STABLE https://github.com/phpmyadmin/phpmyadmin.git /var/www/22222/htdocs/db/pma/ &>> $INSTALLLOG \ - || OwnError "Unable To Clone phpMyAdmin" + # Download PMA/phpMyAdmin + wget --no-check-certificate -cqO /var/www/22222/htdocs/db/pma/pma.tar.gz https://github.com/phpmyadmin/phpmyadmin/archive/STABLE.tar.gz \ + || OwnError "Unable To Download phpMyAdmin" + + # Extract PMA/phpMyAdmin + tar --strip-components=1 -zxf /var/www/22222/htdocs/db/pma/pma.tar.gz -C /var/www/22222/htdocs/db/pma/ \ + || OwnError "Unable To Extract phpMyAdmin" + + # Remove Unwanted Files + rm -f /var/www/22222/htdocs/db/pma/pma.tar.gz fi