]> git.mxchange.org Git - friendica.git/blob - util/htconfig.vagrant.php
Merge pull request #1789 from silke/vagrant-fix-admin
[friendica.git] / util / htconfig.vagrant.php
1 <?php
2
3 // Set the following for your MySQL installation
4 // Copy or rename this file to .htconfig.php
5
6 $db_host = 'localhost';
7 $db_user = 'root';
8 $db_pass = 'root';
9 $db_data = 'friendica';
10
11 // If you are using a subdirectory of your domain you will need to put the
12 // relative path (from the root of your domain) here.
13 // For instance if your URL is 'http://example.com/directory/subdirectory',
14 // set path to 'directory/subdirectory'. 
15
16 $a->path = '';
17  
18 // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
19 // It can be changed later and only applies to timestamps for anonymous viewers.
20
21 $default_timezone = 'Europe/Berlin';
22
23 // What is your site name?
24
25 $a->config['sitename'] = "My Friend Network";
26
27 // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
28 // Be certain to create your own personal account before setting 
29 // REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on 
30 // the registration page. REGISTER_APPROVE requires you set 'admin_email'
31 // to the email address of an already registered person who can authorise
32 // and/or approve/deny the request.
33
34 $a->config['register_policy'] = REGISTER_OPEN;
35 $a->config['register_text'] = '';
36 $a->config['admin_email'] = 'vagrant@friendica.dev';
37
38 // Maximum size of an imported message, 0 is unlimited
39
40 $a->config['max_import_size'] = 200000;
41
42 // maximum size of uploaded photos
43
44 $a->config['system']['maximagesize'] = 800000;
45
46 // Location of PHP command line processor
47
48 $a->config['php_path'] = '/usr/bin/php';
49
50 // Location of global directory submission page.
51
52 $a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
53 $a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
54
55 // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
56
57 $a->config['system']['huburl'] = '[internal]';
58
59 // Server-to-server private message encryption (RINO) is allowed by default. 
60 // Encryption will only be provided if this setting is true and the
61 // PHP mcrypt extension is installed on both systems 
62
63 $a->config['system']['rino_encrypt'] = true;
64
65 // default system theme
66
67 $a->config['system']['theme'] = 'duepuntozero';
68
69 // By default allow pseudonyms
70
71 $a->config['system']['no_regfullname'] = true;