Ver Fonte

Merge pull request #776 from dpeca/patch-4

Changing password_vesta_host to server hostname
Serghey Rodin há 9 anos atrás
pai
commit
4cfc45ab8b
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      install/vst-install-debian.sh

+ 1 - 0
install/vst-install-debian.sh

@@ -1073,6 +1073,7 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
     mysql -e "CREATE DATABASE roundcube"
     mysql -e "CREATE DATABASE roundcube"
     mysql -e "GRANT ALL ON roundcube.* TO roundcube@localhost IDENTIFIED BY '$r'"
     mysql -e "GRANT ALL ON roundcube.* TO roundcube@localhost IDENTIFIED BY '$r'"
     sed -i "s/%password%/$r/g" /etc/roundcube/db.inc.php
     sed -i "s/%password%/$r/g" /etc/roundcube/db.inc.php
+    sed -i "s/localhost/$servername/g" /etc/roundcube/plugins/password/config.inc.php
     mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
     mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
     chmod a+r /etc/roundcube/main.inc.php
     chmod a+r /etc/roundcube/main.inc.php
     if [ "$release" -eq 8 ]; then
     if [ "$release" -eq 8 ]; then