From d0a35c54435742768ba048ef6ecd04e0921a91c3 Mon Sep 17 00:00:00 2001 From: gau1991 Date: Mon, 4 Aug 2014 19:28:39 +0530 Subject: [PATCH] Added ViMbAdmin default database configuration --- src/vendor/ee_ven_setup_vimbadmin.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/vendor/ee_ven_setup_vimbadmin.sh b/src/vendor/ee_ven_setup_vimbadmin.sh index de307cc6..fad62321 100644 --- a/src/vendor/ee_ven_setup_vimbadmin.sh +++ b/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 = " $? + }