File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments