Skip to content

Commit

Permalink
Update mangospot.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mangospot-net authored Sep 15, 2019
1 parent 3133372 commit be0cdfa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mangospot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ fi

sed -i 's/"DB_PASSWORD", ".*"/"DB_PASSWORD", "'$pswd'"/' /var/www/MangoSpot/include/config.php
sed -i 's/"DB_DATABASE", ".*"/"DB_DATABASE", "'$dbmango'"/' /var/www/MangoSpot/include/config.php
chmod -R 777 /var/www/MangoSpot/dist/img
chmod -R 777 /var/www/MangoSpot/dist/img/bg
chmod -R 777 /var/www/MangoSpot/dist/img/users

# Enable htaccess
sudo a2enmod rewrite
Expand All @@ -75,4 +78,4 @@ sudo a2enconf mangospot.conf
sudo /etc/init.d/apache2 restart

echo ">>> Finished Installing MangoSpot"
sleep 2
sleep 2

0 comments on commit be0cdfa

Please sign in to comment.