Browse Source

Added ViMbAdmin default database configuration

old-stable
gau1991 11 years ago
parent
commit
d0a35c5443
  1. 7
      src/vendor/ee_ven_setup_vimbadmin.sh

7
src/vendor/ee_ven_setup_vimbadmin.sh

@ -46,4 +46,11 @@ function ee_ven_setup_vimbadmin()
sed -i "s/hosts=localhost/hosts=$EE_MYSQL_HOST/" /etc/dovecot/dovecot-sql.conf.ext \
|| ee_lib_error "Unable to setup ViMbAdmin database details in dovecot-sql.conf.ext file, exit status = " $?
# Copying HTACCESS
cp -av /var/www/22222/htdocs/vimbadmin/public/.htaccess.dist /var/www/22222/htdocs/vimbadmin/public/.htaccess &>> $EE_COMMAND_LOG
# Setting default database
/var/www/22222/htdocs/vimbadmin/bin/doctrine2-cli.php orm:schema-tool:create \
|| ee_lib_error "Unable to setup ViMbAdmin default database , exit status = " $?
}

Loading…
Cancel
Save