Update movim database

This commit is contained in:
Bob Mottram 2017-05-20 10:00:31 +01:00
parent 406729c4cf
commit e0ac145bbc
1 changed files with 1 additions and 0 deletions

View File

@ -352,6 +352,7 @@ function install_movim {
sed -i "s|'username'.*|'username' => 'root',|g" db.inc.php
sed -i "s|'password'.*|'password' => '$MARIADB_PASSWORD',|g" db.inc.php
sed -i "s|'database'.*|'database' => 'movim'|g" db.inc.php
php mud.php db --set
chmod u+rwx /var/www/$MOVIM_DOMAIN_NAME/htdocs
chown -R www-data:www-data /var/www/$MOVIM_DOMAIN_NAME/htdocs