3 // If automatic system installation fails:
5 // Copy or rename this file to .htconfig.php
7 // Why .htconfig.php? Because it contains sensitive information which could
8 // give somebody complete control of your database. Apache's default
9 // configuration denies access to and refuses to serve any file beginning
12 // Then set the following for your MySQL installation
14 $db_host = 'your.mysqlhost.com';
15 $db_user = 'mysqlusername';
16 $db_pass = 'mysqlpassword';
17 $db_data = 'mysqldatabasename';
19 // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
20 // It can be changed later and only applies to timestamps for anonymous viewers.
22 $default_timezone = 'America/Los_Angeles';
24 // What is your site name?
26 $a->config['sitename'] = "Friendika Social Network";
28 // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
29 // Be certain to create your own personal account before setting
30 // REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on
31 // the registration page. REGISTER_APPROVE requires you set 'admin_email'
32 // to the email address of an already registered person who can authorise
33 // and/or approve/deny the request.
35 $a->config['register_policy'] = REGISTER_OPEN;
36 $a->config['register_text'] = '';
37 $a->config['admin_email'] = '';
39 // Maximum size of an imported message, 0 is unlimited
41 $a->config['max_import_size'] = 10000;
43 // maximum size of uploaded photos
45 $a->config['system']['maximagesize'] = 800000;
47 // Location of PHP command line processor
49 $a->config['php_path'] = 'php';
51 // You shouldn't need to change anything else.
52 // Location of global directory submission page.
54 $a->config['system']['directory_submit_url'] = 'http://dir.friendika.com/submit';
55 $a->config['system']['directory_search_url'] = 'http://dir.friendika.com/directory?search=';
57 // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
59 $a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com';
61 // Server-to-server private message encryption (RINO) is allowed by default.
62 // Encryption will only be provided if this setting is true and the
63 // PHP mcrypt extension is installed on both systems
65 $a->config['system']['rino_encrypt'] = true;
68 // Addons or plugins are configured here.
69 // This is a comma seperated list of addons to enable. Example:
70 // $a->config['system']['addon'] = 'js_upload,randplace,oembed';
72 $a->config['system']['addon'] = 'js_upload';
75 // Disable oembed embedding
76 // This disable the conversion of [embed]$url[/embed] tag in html
77 // $a->config['system']['no_oembed'] = true;