3 * @copyright Copyright (C) 2020, Friendica
5 * @license GNU AGPL version 3 or any later version
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Affero General Public License as
9 * published by the Free Software Foundation, either version 3 of the
10 * License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Affero General Public License for more details.
17 * You should have received a copy of the GNU Affero General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
20 * This file declares the default values for the admin settings of Friendica.
22 * These values will be overridden by the admin settings page.
24 * Please don't edit this file directly as its content may change in the upcoming versions.
31 // Plaintext description of this node, used in the /friendica module.
34 // register_policy (Constant)
35 // Your choices are OPEN, APPROVE, or CLOSED.
36 // Be certain to create your own personal account before setting CLOSED.
37 // APPROVE requires you set system.admin_email to the email address of an
38 // already registered person who can authorize and/or approve/deny the request.
39 'register_policy' => \Friendica\Module\Register::CLOSED,
41 // register_text (String)
42 // Will be displayed prominently on the registration page.
43 'register_text' => '',
46 // Displayed server name.
47 'sitename' => 'Friendica Social Network',
50 // account_abandon_days (Integer)
51 // Will not waste system resources polling external sites for abandonded accounts.
52 // Enter 0 for no time limit.
53 'account_abandon_days' => 0,
55 // addon (Comma-separated list)
56 // Manual list of addons which are enabled on this system.
59 // allowed_themes (Comma-separated list)
60 // Themes users can change to in their settings.
61 'allowed_themes' => 'quattro,vier,duepuntozero,smoothly',
63 // debugging (boolean)
64 // Enable/Disable Debugging (logging)
67 // default_timezone (String)
68 // Choose a default timezone. See https://secure.php.net/manual/en/timezones.php
69 // It only applies to timestamps for anonymous viewers.
70 'default_timezone' => 'UTC',
73 // URL of the global directory.
74 'directory' => 'https://dir.friendica.social',
76 // forbidden_nicknames (Comma-separated list)
77 // Prevents users from registering the specified nicknames on this node.
78 // Default value comprises classic role names from RFC 2142.
79 'forbidden_nicknames' => 'info, marketing, sales, support, abuse, noc, security, postmaster, hostmaster, usenet, news, webmaster, www, uucp, ftp, root, sysop',
81 // jpeg_quality (Integer)
82 // Sets the ImageMagick quality level for JPEG images. Values ranges from 50 (awful) to 100 (near perfect).
83 'jpeg_quality' => 100,
86 // System default languague, inluding admin-created user default language.
87 // Two-letters ISO 639-1 code.
91 // The logfile for storing logs.
92 // Can be a full path or a relative path to the Friendica home directory
93 'logfile' => 'log/friendica.log',
96 // The loglevel for all logs.
97 // Has to be one of these values: emergency, alert, critical, error, warning, notice, info, debug
98 'loglevel' => 'notice',
100 // max_image_length (Integer)
101 // An alternate way of limiting picture upload sizes.
102 // Specify the maximum pixel length that pictures are allowed to be (for non-square pictures, it will apply to the longest side).
103 // Pictures longer than this length will be resized to be this length (on the longest side, the other side will be scaled appropriately).
104 // If you don't want to set a maximum length, set to -1.
105 'max_image_length' => -1,
107 // maximagesize (Integer)
108 // Maximum size in bytes of an uploaded photo.
109 'maximagesize' => 800000,
111 // no_regfullname (Boolean)
112 // Allow pseudonyms (true) or enforce a space between first name and last name in Full name, as an anti spam measure (false).
113 'no_regfullname' => true,
115 // optimize_max_tablesize (Integer)
116 // Maximum table size (in MB) for the automatic optimization.
117 // -1 to disable automatic optimization.
118 // 0 to use internal default (100MB)
119 'optimize_max_tablesize' => -1,
121 // maxloadavg (Integer)
122 // Maximum system load before delivery and poll processes are deferred.
125 // rino_encrypt (Integer)
126 // Server-to-server private message encryption (RINO).
127 // Encryption will only be provided if this setting is set to a non zero value on both servers.
128 // Set to 0 to disable, 2 to enable, 1 is deprecated but won't need mcrypt.
132 // Custom temporary file directory
136 // System theme name.
140 // The fully-qualified URL of this Friendica node.
141 // Used by the worker in a non-HTTP execution environment.
144 // max_csv_file_size (Integer)
145 // When uploading a CSV with account addresses to follow
146 // in the user settings, this controls the maximum file
147 // size of the upload file.
148 'max_csv_file_size' => 30720,
150 // optimize_tables (Boolean)
151 // Periodically (once an hour) run an "optimize table" command for cache tables
152 'optimize_tables' => false,
155 // Used in the admin settings to lock certain features