File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ if [ ! -z "$apache_pma" ]; then
4444 # Replace pma alias in config files.
4545 sed -i " s|Alias $apache_pma |Alias $PMA |" /etc/apache2/conf.d/phpmyadmin.conf
4646
47+ # Replace in Backend UI
48+ sed -i " s|$apache_pma /|$PMA /|" /usr/local/hestia/web/templates/admin/list_db.html
49+ sed -i " s|$apache_pma /|$PMA /|" /usr/local/hestia/web/templates/user/list_db.html
50+
4751 # Restart services
4852 $HESTIA /bin/v-restart-service apache2
4953 fi
@@ -56,6 +60,10 @@ if [ ! -z "$nginx_pma" ]; then
5660 sed -i " s|$nginx_pma |$PMA |" /etc/nginx/conf.d/phpmyadmin.inc
5761 sed -i " s|/usr/share$PMA |/usr/share/phpmyadmin|" /etc/nginx/conf.d/phpmyadmin.inc
5862
63+ # Replace in Backend UI
64+ sed -i " s|$nginx_pma /|$PMA /|" /usr/local/hestia/web/templates/admin/list_db.html
65+ sed -i " s|$nginx_pma /|$PMA /|" /usr/local/hestia/web/templates/user/list_db.html
66+
5967 # Restart services
6068 $HESTIA /bin/v-restart-service nginx
6169 fi
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ if [ ! -z "$apache_webmail" ]; then
4444 # Replace webmail alias in config files.
4545 sed -i " s|Alias $apache_webmail |Alias $WEBMAIL |" /etc/apache2/conf.d/roundcube.conf
4646
47+ # Replace in Backend UI
48+ sed -i " s|$apache_webmail /|$WEBMAIL /|" /usr/local/hestia/web/templates/admin/list_mail.html
49+ sed -i " s|$apache_webmail /|$WEBMAIL /|" /usr/local/hestia/web/templates/user/list_mail.html
50+
4751 # Restart services
4852 $HESTIA /bin/v-restart-service apache2
4953 fi
@@ -55,6 +59,10 @@ if [ ! -z "$nginx_webmail" ]; then
5559 # Replace webmail alias in config files.
5660 sed -i " s|$nginx_webmail |$WEBMAIL |" /etc/nginx/conf.d/webmail.inc
5761
62+ # Replace in Backend UI
63+ sed -i " s|$nginx_webmail /|$WEBMAIL /|" /usr/local/hestia/web/templates/admin/list_mail.html
64+ sed -i " s|$nginx_webmail /|$WEBMAIL /|" /usr/local/hestia/web/templates/user/list_mail.html
65+
5866 # Restart services
5967 $HESTIA /bin/v-restart-service nginx
6068 fi
You can’t perform that action at this time.
0 commit comments