Friendica database schema

This commit is contained in:
Bob Mottram 2017-04-07 14:22:01 +01:00
parent 48f0c23ff3
commit a5063b11c0
1 changed files with 2 additions and 2 deletions

View File

@ -533,12 +533,12 @@ function install_friendica {
nginx_ensite $FRIENDICA_DOMAIN_NAME
# initialize the database
if [ ! -f $FRIENDICA_PATH/install/schema_mysql.sql ]; then
if [ ! -f $FRIENDICA_PATH/database.sql ]; then
echo $'No database schema found for friendica'
exit 252782
fi
function_check initialise_database
initialise_database friendica $FRIENDICA_PATH/install/schema_mysql.sql
initialise_database friendica $FRIENDICA_PATH/database.sql
# create the config file
echo '<?php' > $FRIENDICA_PATH/.htconfig.php