Merge pull request #7092 from MrPetovan/task/7047-theme-error-page
[friendica.git/.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 OPEN, APPROVE, or CLOSED.
20                 // Be certain to create your own personal account before setting CLOSED.
21                 // APPROVE requires you set system.admin_email to the email address of an
22                 // already registered person who can authorize and/or approve/deny the request.
23                 'register_policy' => \Friendica\Module\Register::CLOSED,
24
25                 // register_text (String)
26                 // Will be displayed prominently on the registration page.
27                 'register_text' => '',
28
29                 // sitename (String)
30                 // Displayed server name.
31                 'sitename' => 'Friendica Social Network',
32         ],
33         'system' => [
34                 // account_abandon_days (Integer)
35                 // Will not waste system resources polling external sites for abandonded accounts.
36                 // Enter 0 for no time limit.
37                 'account_abandon_days' => 0,
38
39                 // addon (Comma-separated list)
40                 // Manual list of addons which are enabled on this system.
41                 'addon' => '',
42
43                 // allowed_themes (Comma-separated list)
44                 // Themes users can change to in their settings.
45                 'allowed_themes' => 'quattro,vier,duepuntozero,smoothly',
46
47                 // debugging (boolean)
48                 // Enable/Disable Debugging (logging)
49                 'debugging' => false,
50
51                 // default_timezone (String)
52                 // Choose a default timezone. See https://secure.php.net/manual/en/timezones.php
53                 // It only applies to timestamps for anonymous viewers.
54                 'default_timezone' => 'UTC',
55
56                 // directory (String)
57                 // URL of the global directory.
58                 'directory' => 'https://dir.friendica.social',
59
60                 // forbidden_nicknames (Comma-separated list)
61                 // Prevents users from registering the specified nicknames on this node.
62                 // Default value comprises classic role names from RFC 2142.
63                 'forbidden_nicknames' => 'info, marketing, sales, support, abuse, noc, security, postmaster, hostmaster, usenet, news, webmaster, www, uucp, ftp, root, sysop',
64
65                 // jpeg_quality (Integer)
66                 // Sets the ImageMagick quality level for JPEG images. Values ranges from 50 (awful) to 100 (near perfect).
67                 'jpeg_quality' => 100,
68
69                 // language (String)
70                 // System default languague, inluding admin-created user default language.
71                 // Two-letters ISO 639-1 code.
72                 'language' => 'en',
73
74                 // logfile (String)
75                 // The logfile for storing logs.
76                 // Can be a full path or a relative path to the Friendica home directory
77                 'logfile' => 'friendica.log',
78
79                 // loglevel (String)
80                 // The loglevel for all logs.
81                 // Has to be one of these values: emergency, alert, critical, error, warning, notice, info, debug
82                 'loglevel' => 'notice',
83
84                 // max_image_length (Integer)
85                 // An alternate way of limiting picture upload sizes.
86                 // Specify the maximum pixel  length that pictures are allowed to be (for non-square pictures, it will apply to the longest side).
87                 // Pictures longer than this length will be resized to be this length (on the longest side, the other side will be scaled appropriately).
88                 // If you don't want to set a maximum length, set to -1.
89                 'max_image_length' => -1,
90
91                 // maximagesize (Integer)
92                 // Maximum size in bytes of an uploaded photo.
93                 'maximagesize' => 800000,
94
95                 // no_regfullname (Boolean)
96                 // Allow pseudonyms (true) or enforce a space between first name and last name in Full name, as an anti spam measure (false).
97                 'no_regfullname' => true,
98
99                 // optimize_max_tablesize (Integer)
100                 // Maximum table size (in MB) for the automatic optimization.
101                 // -1 to disable automatic optimization.
102                 //  0 to use internal default (100MB)
103                 'optimize_max_tablesize' => -1,
104
105                 // maxloadavg (Integer)
106                 // Maximum system load before delivery and poll processes are deferred.
107                 'maxloadavg' => 20,
108
109                 // rino_encrypt (Integer)
110                 // Server-to-server private message encryption (RINO).
111                 // Encryption will only be provided if this setting is set to a non zero value on both servers.
112                 // Set to 0 to disable, 2 to enable, 1 is deprecated but won't need mcrypt.
113                 'rino_encrypt' => 2,
114
115                 // temppath (String)
116                 // Custom temporary file directory
117                 'temppath' => '',
118
119                 // theme (String)
120                 // System theme name.
121                 'theme' => 'vier',
122
123                 // url (String)
124                 // The fully-qualified URL of this Friendica node.
125                 // Used by the worker in a non-HTTP execution environment.
126                 'url' => '',
127         ],
128
129         // Used in the admin settings to lock certain features
130         'featurelock' => [
131         ],
132 ];