Просмотр исходного кода

Merge pull request #776 from dpeca/patch-4

Changing password_vesta_host to server hostname
Serghey Rodin 9 лет назад
Родитель
Сommit
4cfc45ab8b
1 измененных файлов с 1 добавлено и 0 удалено
  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 "GRANT ALL ON roundcube.* TO roundcube@localhost IDENTIFIED BY '$r'"
     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
     chmod a+r /etc/roundcube/main.inc.php
     if [ "$release" -eq 8 ]; then