aboutsummaryrefslogtreecommitdiffstats
path: root/view/en/htconfig.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/en/htconfig.tpl')
-rw-r--r--view/en/htconfig.tpl11
1 files changed, 10 insertions, 1 deletions
diff --git a/view/en/htconfig.tpl b/view/en/htconfig.tpl
index 17ee7bfeb..0ab7b6510 100644
--- a/view/en/htconfig.tpl
+++ b/view/en/htconfig.tpl
@@ -10,6 +10,8 @@ $db_pass = '{{$dbpass}}';
$db_data = '{{$dbdata}}';
$db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres
+define( 'UNO', {{$uno}} );
+
/*
* Notice: Many of the following settings will be available in the admin panel
* after a successful site install. Once they are set in the admin panel, they
@@ -28,12 +30,19 @@ $db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres
$default_timezone = '{{$timezone}}';
-// What is your site name?
+// What is your site name? DO NOT ADD A TRAILING SLASH!
$a->config['system']['baseurl'] = '{{$siteurl}}';
$a->config['system']['sitename'] = "Hubzilla";
$a->config['system']['location_hash'] = '{{$site_id}}';
+// These lines set additional security headers to be sent with all responses
+// You may wish to set transport_security_header to 0 if your server already sends
+// this header. content_security_policy may need to be disabled if you wish to
+// run the piwik analytics plugin or include other offsite resources on a page
+
+$a->config['system']['transport_security_header'] = 1;
+$a->config['system']['content_security_policy'] = 1;
// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
// Be certain to create your own personal account before setting