]> git.mxchange.org Git - friendica.git/blob - htconfig.php
Merge pull request #1750 from annando/1507-contact-update
[friendica.git] / htconfig.php
1 <?php
2
3 // If automatic system installation fails: 
4
5 // Copy or rename this file to .htconfig.php
6
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 
10 // with .ht
11
12 // Then set the following for your MySQL installation
13
14 $db_host = 'your.mysqlhost.com';
15 $db_user = 'mysqlusername';
16 $db_pass = 'mysqlpassword';
17 $db_data = 'mysqldatabasename';
18
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.
21
22 $default_timezone = 'America/Los_Angeles';
23
24 // What is your site name?
25
26 $a->config['sitename'] = "Friendica Social Network";
27
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. 
34
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.
37
38 $a->config['register_policy'] = REGISTER_OPEN;
39 $a->config['register_text'] = '';
40 $a->config['admin_email'] = '';
41
42 // Maximum size of an imported message, 0 is unlimited
43
44 $a->config['max_import_size'] = 200000;
45
46 // maximum size of uploaded photos
47
48 $a->config['system']['maximagesize'] = 800000;
49
50 // Location of PHP command line processor
51
52 $a->config['php_path'] = 'php';
53
54 // You shouldn't need to change anything else.
55 // Location of global directory submission page. 
56
57 $a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
58 $a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
59
60 // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
61
62 $a->config['system']['huburl'] = '[internal]';
63
64 // allowed themes (change this from admin panel after installation)
65
66 $a->config['system']['allowed_themes'] = 'dispy,quattro,vier,darkzero,duepuntozero,greenzero,purplezero,slackr,diabook';
67
68 // default system theme
69
70 $a->config['system']['theme'] = 'duepuntozero';
71
72
73 // By default allow pseudonyms
74
75 $a->config['system']['no_regfullname'] = true;
76
77 // If set to true the priority settings of ostatus contacts are used
78 $a->config['system']['ostatus_use_priority'] = false;
79
80 // If enabled, all items are cached in the given directory
81 $a->config['system']['itemcache'] = "";
82
83 // If enabled, the lockpath is used for a lockfile to check if the poller is running
84 $a->config['system']['lockpath'] = "";
85
86 // If enabled, the MyBB fulltext engine is used
87 // $a->config['system']['use_fulltext_engine'] = true;
88
89 // Use the old style "share"
90 // $a->config['system']['old_share'] = false;
91
92 //Deny public access to the local directory
93 //$a->config['system']['block_local_dir'] = false;
94