3 /* ********************************************************************
4 * The following configuration has to be within the .htconfig file
5 * and will not be overruled by decisions made in the admin panel.
7 * See below for variables that may be overruled by the admin panel.
8 * ********************************************************************/
10 // Set the following for your MySQL installation
11 // Copy or rename this file to .htconfig.php
13 $db_host = '{{$dbhost}}';
14 $db_user = '{{$dbuser}}';
15 $db_pass = '{{$dbpass}}';
16 $db_data = '{{$dbdata}}';
18 // Set the database connection charset to UTF8.
19 // Changing this value will likely corrupt the special characters.
20 // You have been warned.
21 $a->config['system']['db_charset'] = "utf8mb4";
23 // email adress for the system admin
25 $a->config['admin_email'] = '{{$adminmail}}';
27 // Location of PHP command line processor
29 $a->config['php_path'] = '{{$phpath}}';
31 // If you are using a subdirectory of your domain you will need to put the
32 // relative path (from the root of your domain) here.
33 // For instance if your URL is 'http://example.com/directory/subdirectory',
34 // set path to 'directory/subdirectory'.
36 $a->path = '{{$urlpath}}';
38 /* *********************************************************************
39 * The configuration below will be overruled by the admin panel.
40 * Changes made below will only have an effect if the database does
41 * not contain any configuration for the friendica system.
42 * *********************************************************************/
44 // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
45 // It can be changed later and only applies to timestamps for anonymous viewers.
47 $default_timezone = '{{$timezone}}';
49 // Default system language
51 $a->config['system']['language'] = '{{$language}}';
53 // What is your site name?
55 $a->config['sitename'] = "My Friend Network";
57 // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
58 // Be certain to create your own personal account before setting
59 // REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on
60 // the registration page. REGISTER_APPROVE requires you set 'admin_email'
61 // to the email address of an already registered person who can authorise
62 // and/or approve/deny the request.
64 $a->config['register_policy'] = REGISTER_OPEN;
65 $a->config['register_text'] = '';
67 // Maximum size of an imported message, 0 is unlimited
69 $a->config['max_import_size'] = 200000;
71 // maximum size of uploaded photos
73 $a->config['system']['maximagesize'] = 800000;
75 // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
77 $a->config['system']['huburl'] = '[internal]';
79 // Server-to-server private message encryption (RINO) is allowed by default.
80 // Encryption will only be provided if this setting is true and the
81 // PHP mcrypt extension is installed on both systems
83 $a->config['system']['rino_encrypt'] = {{$rino}};
85 // default system theme
87 $a->config['system']['theme'] = 'vier';
89 // By default allow pseudonyms
91 $a->config['system']['no_regfullname'] = true;
93 //Deny public access to the local directory
94 //$a->config['system']['block_local_dir'] = false;
96 // Location of the global directory
97 $a->config['system']['directory'] = 'http://dir.friendi.ca';