]> git.mxchange.org Git - friendica.git/blob - util/htconfig.vagrant.php
[tests] Prevent bin/worker.php from being called during tests
[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 = 'friendica';
8 $db_pass = 'friendica';
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->urlpath = '';
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'] = 'admin@friendica.local';
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
51 // Server-to-server private message encryption (RINO) is allowed by default.
52 // set to 0 to disable, 1 to enable
53
54 $a->config['system']['rino_encrypt'] = 1;
55
56 // default system theme
57
58 $a->config['system']['theme'] = 'duepuntozero';
59
60 // By default allow pseudonyms
61
62 $a->config['system']['no_regfullname'] = true;
63
64 //Deny public access to the local directory
65 //$a->config['system']['block_local_dir'] = false;
66
67 // Location of the global directory
68 $a->config['system']['directory'] = 'https://dir.friendica.social';
69
70 // turn on friendica's log
71 $a->config['system']['debugging'] = true;
72 $a->config['system']['logfile'] = 'logfile.out';
73 $a->config['system']['loglevel'] = LOGGER_DEBUG;
74
75 // display php errors
76 ini_set('display_errors', '1');