Friendica database schema
This commit is contained in:
parent
48f0c23ff3
commit
a5063b11c0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue