From b380b618bc3bb64a76eb170755a7e53c0dde3c43 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 18 Jan 2016 14:41:24 -0800 Subject: db_type not present in international config file templates issue #259 --- view/it/htconfig.tpl | 1 + 1 file changed, 1 insertion(+) (limited to 'view/it/htconfig.tpl') diff --git a/view/it/htconfig.tpl b/view/it/htconfig.tpl index cc4087f96..773125154 100644 --- a/view/it/htconfig.tpl +++ b/view/it/htconfig.tpl @@ -8,6 +8,7 @@ $db_port = '{{$dbport}}'; $db_user = '{{$dbuser}}'; $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; +$db_type = '{{$dbtype}}'; // an integer. 0 or unset for mysql, 1 for postgres /* * Notice: Many of the following settings will be available in the admin panel -- cgit v1.2.3 From 9cf105f8ea89165d46cfdfd6dbb729e7647c1fd0 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 4 Feb 2016 23:58:31 -0800 Subject: initial uno config --- view/it/htconfig.tpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view/it/htconfig.tpl') diff --git a/view/it/htconfig.tpl b/view/it/htconfig.tpl index 773125154..8f26ec7b0 100644 --- a/view/it/htconfig.tpl +++ b/view/it/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 -- cgit v1.2.3 From a14b87baf25e8a4747318efa7a7b52ad04966af7 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 8 Feb 2016 14:48:11 -0800 Subject: make yet another recommended security header optional - this time because of piwik. Personally I think if you want to track people you really don't understand this project and its history, but whatever.... --- view/it/htconfig.tpl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'view/it/htconfig.tpl') diff --git a/view/it/htconfig.tpl b/view/it/htconfig.tpl index 8f26ec7b0..b809aebdf 100644 --- a/view/it/htconfig.tpl +++ b/view/it/htconfig.tpl @@ -36,6 +36,15 @@ $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 // REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on -- cgit v1.2.3 From 9abd95fad3784a10fc48bc40f9b8a75d7d74edda Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 31 Mar 2016 16:06:03 -0700 Subject: static App --- view/it/htconfig.tpl | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'view/it/htconfig.tpl') diff --git a/view/it/htconfig.tpl b/view/it/htconfig.tpl index b809aebdf..d0a799cf6 100644 --- a/view/it/htconfig.tpl +++ b/view/it/htconfig.tpl @@ -32,17 +32,17 @@ $default_timezone = '{{$timezone}}'; // What is your site name? -$a->config['system']['baseurl'] = '{{$siteurl}}'; -$a->config['system']['sitename'] = "Hubzilla"; -$a->config['system']['location_hash'] = '{{$site_id}}'; +App::$config['system']['baseurl'] = '{{$siteurl}}'; +App::$config['system']['sitename'] = "Hubzilla"; +App::$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; +App::$config['system']['transport_security_header'] = 1; +App::$config['system']['content_security_policy'] = 1; // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED. @@ -52,21 +52,21 @@ $a->config['system']['content_security_policy'] = 1; // to the email address of an already registered person who can authorise // and/or approve/deny the request. -$a->config['system']['register_policy'] = REGISTER_OPEN; -$a->config['system']['register_text'] = ''; -$a->config['system']['admin_email'] = '{{$adminmail}}'; +App::$config['system']['register_policy'] = REGISTER_OPEN; +App::$config['system']['register_text'] = ''; +App::$config['system']['admin_email'] = '{{$adminmail}}'; // Maximum size of an imported message, 0 is unlimited -$a->config['system']['max_import_size'] = 200000; +App::$config['system']['max_import_size'] = 200000; // maximum size of uploaded photos -$a->config['system']['maximagesize'] = 8000000; +App::$config['system']['maximagesize'] = 8000000; // Location of PHP command line processor -$a->config['system']['php_path'] = '{{$phpath}}'; +App::$config['system']['php_path'] = '{{$phpath}}'; // Configure how we communicate with directory servers. // DIRECTORY_MODE_NORMAL = directory client, we will find a directory @@ -74,9 +74,9 @@ $a->config['system']['php_path'] = '{{$phpath}}'; // DIRECTORY_MODE_PRIMARY = main directory server // DIRECTORY_MODE_STANDALONE = "off the grid" or private directory services -$a->config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; +App::$config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; // default system theme -$a->config['system']['theme'] = 'redbasic'; +App::$config['system']['theme'] = 'redbasic'; -- cgit v1.2.3