From: Tobias Diekershoff Date: Wed, 20 Apr 2016 12:30:22 +0000 (+0200) Subject: reorganize the htconfig template X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7c6ebae5c0505815cc08186e0c47e5ffd96f9ea0;p=friendica.git reorganize the htconfig template --- diff --git a/view/templates/htconfig.tpl b/view/templates/htconfig.tpl index 02ffa62c14..89f9bcae8a 100644 --- a/view/templates/htconfig.tpl +++ b/view/templates/htconfig.tpl @@ -1,5 +1,12 @@ config['admin_email'] = '{{$adminmail}}'; + +// Location of PHP command line processor + +$a->config['php_path'] = '{{$phpath}}'; + // If you are using a subdirectory of your domain you will need to put the // relative path (from the root of your domain) here. // For instance if your URL is 'http://example.com/directory/subdirectory', // set path to 'directory/subdirectory'. $a->path = '{{$urlpath}}'; + +/*********************************************************************** + * The configuration below will be overruled by the admin panel. + * Changes made below will only have an effect if the database does + * not contain any configuration for the friendica system. + ***********************************************************************/ // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". // It can be changed later and only applies to timestamps for anonymous viewers. @@ -37,7 +58,6 @@ $a->config['sitename'] = "My Friend Network"; $a->config['register_policy'] = REGISTER_OPEN; $a->config['register_text'] = ''; -$a->config['admin_email'] = '{{$adminmail}}'; // Maximum size of an imported message, 0 is unlimited @@ -47,10 +67,6 @@ $a->config['max_import_size'] = 200000; $a->config['system']['maximagesize'] = 800000; -// Location of PHP command line processor - -$a->config['php_path'] = '{{$phpath}}'; - // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts $a->config['system']['huburl'] = '[internal]';