Try config
This commit is contained in:
parent
698cba0449
commit
697319496d
|
@ -8382,31 +8382,31 @@ quit" > $INSTALL_DIR/batch.sql
|
||||||
nginx_ensite $MICROBLOG_DOMAIN_NAME
|
nginx_ensite $MICROBLOG_DOMAIN_NAME
|
||||||
|
|
||||||
# Create the configuration
|
# Create the configuration
|
||||||
#echo '<?php' > /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo '<?php' > /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo "if (!defined('GNUSOCIAL')) { exit(1); }" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo "if (!defined('GNUSOCIAL')) { exit(1); }" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo "$config['site']['name'] = 'Freedombone Social';" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo "$config['site']['name'] = 'Freedombone Social';" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo "$config['site']['server'] = '$MICROBLOG_DOMAIN_NAME';" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo "$config['site']['server'] = '$MICROBLOG_DOMAIN_NAME';" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo "$config['site']['path'] = false;" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo "$config['site']['path'] = false;" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#if [[ $ONION_ONLY == "no" ]]; then
|
if [[ $ONION_ONLY == "no" ]]; then
|
||||||
# echo "$config['site']['ssl'] = 'always'; " >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo "$config['site']['ssl'] = 'always'; " >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#else
|
else
|
||||||
# echo "$config['site']['ssl'] = 'never'; " >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo "$config['site']['ssl'] = 'never'; " >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#fi
|
fi
|
||||||
#echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo "$config['site']['fancy'] = true;" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo "$config['site']['fancy'] = true;" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo "$config['db']['database'] = 'mysqli://root:${MARIADB_PASSWORD}@localhost/gnusocial';" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo "$config['db']['database'] = 'mysqli://root:${MARIADB_PASSWORD}@localhost/gnusocial';" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo "$config['db']['type'] = 'mysql';" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo "$config['db']['type'] = 'mysql';" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo '// Uncomment below for better performance. Just remember you must run' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo '// Uncomment below for better performance. Just remember you must run' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo '// php scripts/checkschema.php whenever your enabled plugins change!' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo '// php scripts/checkschema.php whenever your enabled plugins change!' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo "$config['db']['schemacheck'] = 'script';" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo "$config['db']['schemacheck'] = 'script';" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo '' >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
#echo "$config['site']['profile'] = 'community';" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
echo "$config['site']['profile'] = 'community';" >> /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/config.php
|
||||||
|
|
||||||
MICROBLOG_ONION_HOSTNAME=$(add_onion_service microblog 80 ${MICROBLOG_ONION_PORT})
|
MICROBLOG_ONION_HOSTNAME=$(add_onion_service microblog 80 ${MICROBLOG_ONION_PORT})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue