File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,13 @@ read -p 'Would you like to continue? [y/n]'
2222echo # (optional) move to a new line
2323if [[ $REPLY =~ ^[Yy]$ ]]
2424then
25+ # Remove PMA SSO first
26+ sso=" no"
27+ if [ " $PHPMYADMIN_KEY " != " " ]; then
28+ sso=" yes"
29+ $HESTIA /bin/v-delete-sys-pma-sso
30+ fi
31+
2532 # Create an backup of current config
2633 echo " [ * ] Make backup old config files"
2734 mkdir -p /root/hst_backup_man/phmyadmin
@@ -154,4 +161,7 @@ MYSQL_PMA3
154161 # MYSQL DB and TABLES ADDITION
155162 mysql -uroot < $HESTIA_INSTALL_DIR /phpmyadmin/create_tables.sql
156163
164+ if [ " $sso " == " yes" ]; then
165+ $HESTIA /bin/v-add-sys-pma-sso
166+ fi
157167fi
Original file line number Diff line number Diff line change 44 < a class ="ui-button cancel " id ="btn-back " href ="/list/web/ "> < i class ="fas fa-arrow-left status-icon blue "> </ i > < ?=_('Back')?> </ a >
55 </ div >
66 < div class ="l-unit-toolbar__buttonstrip float-right ">
7- < a href ="/delete/web/cache/?domain=<?=$_GET['domain'];?>&token=<?=$_SESSION['token'];?> " class ="ui-button cancel <?php if ( $v_nginx_cache == 'yes' || ($v_proxy_template == 'caching' && $_SESSION['PROXY '] == 'nginx')) { echo "block "; } else{ echo "hidden"; }?> " id="v-clear-cache">
7+ < a href ="/delete/web/cache/?domain=<?=$_GET['domain'];?>&token=<?=$_SESSION['token'];?> " class ="ui-button cancel <?php if ( $v_nginx_cache == 'yes' || ($v_proxy_template == 'caching' && $_SESSION['PROXY_SYSTEM '] == 'nginx')) { echo "block "; } else{ echo "hidden"; }?> " id="v-clear-cache">
88 < i class ="fas fa-trash status-icon red "> </ i > < ?=_('Purge Nginx Cache');?>
99 </ a >
1010
1515 </ div >
1616 </ div >
1717 </ div >
18-
1918 < div class ="l-separator "> </ div >
2019
2120 < div class ="l-center animated fadeIn ">
You can’t perform that action at this time.
0 commit comments