]> git.mxchange.org Git - friendica.git/blob - config/settings.config.php
Fix StorageManager::move()
[friendica.git] / config / settings.config.php
1 <?php
2
3 // SETTINGS.PHP
4
5 /* This file declares the default values for the admin settings of Friendica.
6  *
7  * These values will be overridden by the admin settings page.
8  *
9  * Please don't edit this file directly as its content may change in the upcoming versions.
10  */
11
12 return [
13         'config' => [
14                 // info (String)
15                 // Plaintext description of this node, used in the /friendica module.
16                 'info' => '',
17
18                 // register_policy (Constant)
19                 // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
20                 // Be certain to create your own personal account before setting REGISTER_CLOSED.
21                 // REGISTER_APPROVE requires you set system.admin_email to the email address of an already registered person who can authorize and/or approve/deny the request.
22                 'register_policy' => REGISTER_CLOSED,
23
24                 // register_text (String)
25                 // Will be displayed prominently on the registration page.
26                 'register_text' => '',
27
28                 // sitename (String)
29                 // Displayed server name.
30                 'sitename' => 'Friendica Social Network',
31         ],
32         'system' => [
33                 // account_abandon_days (Integer)
34                 // Will not waste system resources polling external sites for abandonded accounts.
35                 // Enter 0 for no time limit.
36                 'account_abandon_days' => 0,
37
38                 // addon (Comma-separated list)
39                 // Manual list of addons which are enabled on this system.
40                 'addon' => '',
41
42                 // allowed_themes (Comma-separated list)
43                 // Themes users can change to in their settings.
44                 'allowed_themes' => 'quattro,vier,duepuntozero,smoothly',
45
46                 // default_timezone (String)
47                 // Choose a default timezone. See https://secure.php.net/manual/en/timezones.php
48                 // It only applies to timestamps for anonymous viewers.
49                 'default_timezone' => 'UTC',
50
51                 // directory (String)
52                 // URL of the global directory.
53                 'directory' => 'https://dir.friendica.social',
54
55                 // forbidden_nicknames (Comma-separated list)
56                 // Prevents users from registering the specified nicknames on this node.
57                 // Default value comprises classic role names from RFC 2142.
58                 'forbidden_nicknames' => 'info, marketing, sales, support, abuse, noc, security, postmaster, hostmaster, usenet, news, webmaster, www, uucp, ftp, root, sysop',
59
60                 // jpeg_quality (Integer)
61                 // Sets the ImageMagick quality level for JPEG images. Values ranges from 50 (awful) to 100 (near perfect).
62                 'jpeg_quality' => 100,
63
64                 // language (String)
65                 // System default languague, inluding admin-created user default language.
66                 // Two-letters ISO 639-1 code.
67                 'language' => 'en',
68
69                 // max_image_length (Integer)
70                 // An alternate way of limiting picture upload sizes.
71                 // Specify the maximum pixel  length that pictures are allowed to be (for non-square pictures, it will apply to the longest side).
72                 // Pictures longer than this length will be resized to be this length (on the longest side, the other side will be scaled appropriately).
73                 // If you don't want to set a maximum length, set to -1.
74                 'max_image_length' => -1,
75
76                 // maximagesize (Integer)
77                 // Maximum size in bytes of an uploaded photo.
78                 'maximagesize' => 800000,
79
80                 // no_regfullname (Boolean)
81                 // Allow pseudonyms (true) or enforce a space between first name and last name in Full name, as an anti spam measure (false).
82                 'no_regfullname' => true,
83
84                 // optimize_max_tablesize (Integer)
85                 // Maximum table size (in MB) for the automatic optimization.
86                 // -1 to disable automatic optimization.
87                 //  0 to use internal default (100MB)
88                 'optimize_max_tablesize' => -1,
89
90                 // rino_encrypt (Integer)
91                 // Server-to-server private message encryption (RINO).
92                 // Encryption will only be provided if this setting is set to a non zero value on both servers.
93                 // Set to 0 to disable, 2 to enable, 1 is deprecated but won't need mcrypt.
94                 'rino_encrypt' => 2,
95
96                 // temppath (String)
97                 // Custom temporary file directory
98                 'temppath' => '',
99
100                 // theme (String)
101                 // System theme name.
102                 'theme' => 'vier',
103
104                 // url (String)
105                 // The fully-qualified URL of this Friendica node.
106                 // Used by the worker in a non-HTTP execution environment.
107                 'url' => '',
108         ],
109
110         // Used in the admin settings to lock certain features
111         'featurelock' => [
112         ],
113 ];