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'] = "Friendica 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 // In order to perform system administration via the admin panel, admin_email
36 // must precisely match the email address of the person logged in.
38 $a->config['register_policy'] = REGISTER_OPEN;
39 $a->config['register_text'] = '';
40 $a->config['admin_email'] = '';
42 // Maximum size of an imported message, 0 is unlimited
44 $a->config['max_import_size'] = 200000;
46 // maximum size of uploaded photos
48 $a->config['system']['maximagesize'] = 800000;
50 // Location of PHP command line processor
52 $a->config['php_path'] = 'php';
54 // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
56 $a->config['system']['huburl'] = '[internal]';
58 // allowed themes (change this from admin panel after installation)
60 $a->config['system']['allowed_themes'] = 'dispy,quattro,vier,darkzero,duepuntozero,greenzero,purplezero,slackr,diabook';
62 // default system theme
64 $a->config['system']['theme'] = 'duepuntozero';
67 // By default allow pseudonyms
69 $a->config['system']['no_regfullname'] = true;
71 //Deny public access to the local directory
72 //$a->config['system']['block_local_dir'] = false;
74 // Location of the global directory
75 $a->config['system']['directory'] = 'http://dir.friendi.ca';