File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -530,14 +530,21 @@ INSTALLPMA()
530530 then
531531 if [ ! -d /var/www/22222/htdocs/db/pma ]
532532 then
533- echo -e " \033[34mCloning phpMyAdmin, Please Wait...\e[0m"
533+ echo -e " \033[34mDownloading 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- # 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"
538+ # Download PMA/phpMyAdmin
539+ wget --no-check-certificate -cqO /var/www/22222/htdocs/db/pma/pma.tar.gz https://github.com/phpmyadmin/phpmyadmin/archive/STABLE.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
541548
542549 fi
543550
You can’t perform that action at this time.
0 commit comments