]> git.mxchange.org Git - friendica.git/blob - config/defaults.ini.php
cd1734741086f024739ea388194f602474867023
[friendica.git] / config / defaults.ini.php
1 <?php return <<<INI
2
3 ; This file declares the default values for all the config values of Friendica.
4 ; Please don't edit this file as its content may change in the upcoming versions.
5
6 [database]
7
8 ; host (String)
9 ; Hostname or IP address of the database server.
10 ; Can contain the port number with the syntax "hostname:port".
11 hostname =
12
13 ; user (String)
14 ; Database user name. Please don't use "root".
15 username =
16
17 ; pass (String)
18 ; Database user password. Please don't use empty passwords.
19 password =
20
21 ; base (String)
22 ; Database name.
23 database =
24
25 ; charset (String)
26 ; Database connexion charset. Changing this value will likely corrupt special characters.
27 charset = utf8mb4
28
29 [config]
30
31 ; admin_email (Comma-separated list)
32 ; In order to perform system administration via the admin panel, this must precisely match the email address of the person logged in.
33 admin_email =
34
35 ; admin_nickname (String)
36 ; Nickname of the main admin user, used if there are more than one admin user defined in config.admin_email
37 admin_nickname =
38
39 ; info (String)
40 ; Plaintext description of this node, used in the /friendica module
41 info =
42
43 ; max_import_size (Integer)
44 ; Maximum body size of DFRN and Mail messages in characters. 0 is unlimited.
45 max_import_size = 200000
46
47 ; php_path (String)
48 ; Location of PHP command line processor
49 php_path = php
50
51 ; register_policy (Constant)
52 ; Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
53 ; Be certain to create your own personal account before setting REGISTER_CLOSED.
54 ; REGISTER_APPROVE requires you set system.admin_email to the email address of an already registered person who can authorise
55 ; and/or approve/deny the request.
56 register_policy = REGISTER_CLOSED
57
58 ; register_text (String)
59 ; Will be displayed prominently on the registration page.
60 register_text = ''
61
62 ; sitename (String)
63 ; Displayed server name
64 sitename = "Friendica Social Network"
65
66 [system]
67
68 ; account_abandon_days (Integer)
69 ; Will not waste system resources polling external sites for abandonded accounts.
70 ; Enter 0 for no time limit.
71 account_abandon_days = 0
72
73 ; addon (Comma-separated list)
74 ; Manual list of addons which are enabled on this system.
75 addon =
76
77 ; allowed_link_protocols (Array)
78 ; Allowed protocols in links URLs, add at your own risk. http is always allowed.
79 allowed_link_protocols[] = ftp
80 allowed_link_protocols[] = ftps
81 allowed_link_protocols[] = mailto
82 allowed_link_protocols[] = cid
83 allowed_link_protocols[] = gopher
84
85 ; always_show_preview (Boolean)
86 ; Only show small preview picures.
87 always_show_preview = false
88
89 ; archival_days (Integer)
90 ; Number of days that we try to deliver content before we archive a contact.
91 archival_days = 32
92
93 ; auth_cookie_lifetime (Integer)
94 ; Number of days that should pass without any activity before a user who chose "Remember me" when logging in is considered logged out.
95 auth_cookie_lifetime = 7
96
97 ; block_local_dir (Boolean)
98 ; Deny public access to the local user directory.
99 block_local_dir = false
100
101 ; config_adapter (jit|preload)
102 ; Allow to switch the configuration adapter to improve performances at the cost of memory consumption.
103 config_adapter = jit
104
105 ; curl_range_bytes (Integer)
106 ; Maximum number of bytes that should be fetched. Default is 0, which mean "no limit".
107 curl_range_bytes = 0
108
109 ; db_log (Path)
110 ; Name of a logfile to log slow database queries
111 db_log =
112
113 ; db_loglimit (Integer)
114 ; If a database call lasts longer than this value in seconds it is logged.
115 ; Inactive if system.db_log is empty
116 db_loglimit = 10
117
118 ; db_log_index (Path)
119 ; Name of a logfile to log queries with bad indexes
120 db_log_index =
121
122 ; db_log_index_watch (Comma-separated list)
123 ; Watchlist of indexes to watch
124 db_log_index_watch =
125
126 ; db_loglimit_index (Integer)
127 ; Number of index rows needed to be logged for indexes on the watchlist. 0 to disable.
128 db_loglimit_index = 0
129
130 ; db_loglimit_index_high (Integer)
131 ; Number of index rows to be logged anyway (for any index). 0 to disable.
132 db_loglimit_index_high = 0
133
134 ; db_log_index_blacklist (Comma-separated list)
135 ; Blacklist of indexes that shouldn't be watched
136 db_log_index_blacklist =
137
138 ; dbclean_expire_conversation (Integer)
139 ; When DBClean is enabled, any entry in the conversation table will be deleted after this many days.
140 ; These data are normally needed only for debugging purposes and they are safe to delete.
141 dbclean_expire_conversation = 90
142
143 ; default_timezone (String)
144 ; Choose a default timezone. See https://secure.php.net/manual/en/timezones.php
145 ; It only applies to timestamps for anonymous viewers.
146 default_timezone = UTC
147
148 ; diaspora_test (Boolean)
149 ; For development only. Disables the message transfer.
150 diaspora_test = false
151
152 ; disable_email_validation (Boolean)
153 ; Disables the check if a mail address is in a valid format and can be resolved via DNS.
154 disable_email_validation = false
155
156 ; disable_url_validation (Boolean)
157 ; Disables the DNS lookup of an URL.
158 disable_url_validation = false
159
160 ; disable_password_exposed (Boolean)
161 ; Disable the exposition check against the remote haveibeenpwned API on password change.
162 disable_password_exposed = false
163
164 ; dlogfile (Path)
165 ; location of the developer log file
166 dlogfile =
167
168 ; dlogip (String)
169 ; restricts develop log writes to requests originating from this IP address
170 dlogip =
171
172 ; forbidden_nicknames (Comma-separated list)
173 ; Prevents users from registering the specified nicknames on this node
174 ; Default value comprises classic role names from RFC 2142
175 forbidden_nicknames = info, marketing, sales, support, abuse, noc, security, postmaster, hostmaster, usenet, news, webmaster, www, uucp, ftp, root, sysop
176
177 ; frontend_worker_timeout (Integer)
178 ; Value in minutes after we think that a frontend task was killed by the webserver.
179 frontend_worker_timeout = 10
180
181 ; groupedit_image_limit (Integer)
182 ; Number of contacts at which the group editor should switch from display the profile pictures of the contacts to only display the names.
183 ; This can alternatively be set on a per account basis in the pconfig table.
184 groupedit_image_limit = 400
185
186 ; hsts (Boolean)
187 ; Enables the sending of HTTP Strict Transport Security headers
188 hsts = false
189
190 ; ignore_cache (Boolean)
191 ; For development only. Disables the item cache.
192 ignore_cache = false
193
194 ; instances_social_key (String)
195 ; Key to the API of https://instances.social which retrieves data about mastodon servers.
196 ; See https://instances.social/api/token to get an API key.
197 instances_social_key =
198
199 ; ipv4_resolve (Boolean)
200 ; Resolve IPV4 addresses only. Don't resolve to IPV6.
201 ipv4_resolve = false
202
203 ; invitation_only (Boolean)
204 ; If set true registration is only possible after a current member of the node has send an invitation.
205 invitation_only = false
206
207 ; jpeg_quality (Integer)
208 ; Sets the ImageMagick quality level for JPEG images. Values ranges from 50 (awful) to 100 (near perfect).
209 jpeg_quality = 100
210
211 ; language (String)
212 ; Admin-created user default language.
213 ; Two-letters ISO 639-1 code.
214 language = en
215
216 ; like_no_comment (Boolean)
217 ; Don't update the "commented" value of an item when it is liked.
218 like_no_comment = false
219
220 ; local_block (Boolean)
221 ; Used in conjunction with "block_public".
222 local_block = false
223
224 ; local_search (Boolean)
225 ; Blocks search for users who are not logged in to prevent crawlers from blocking your system.
226 local_search = false
227
228 ; local_tags (Boolean)
229 ; If activated, all hashtags will point to the local server.
230 local_tags = false
231
232 ; max_connections (Integer)
233 ; The maximum number of database connections which can be in use before the worker process is deferred to its next interval.
234 ; When the system can't detect the maximum numbers of connection then this value can be used. Use 0 for auto-detection.
235 max_connections = 0
236
237 ; max_connections_level (Integer 0-100)
238 ; The maximum percentage of connections that are allowed to let the worker start.
239 max_connections_level = 75
240
241 ; max_contact_queue (Integer)
242 ; Maximum number of queue items for a single contact before subsequent messages are discarded.
243 max_contact_queue = 500
244
245 ; max_batch_queue (Integer)
246 ; Maximum number of batched queue items for a single contact before subsequent messages are discarded.
247 max_batch_queue = 1000
248
249 ; max_image_length (Integer)
250 ; An alternate way of limiting picture upload sizes.
251 ; Specify the maximum pixel  length that pictures are allowed to be (for non-square pictures, it will apply to the longest side).
252 ; Pictures longer than this length will be resized to be this length (on the longest side, the other side will be scaled appropriately).
253 ; If you don't want to set a maximum length, set to -1.
254 max_image_length = -1
255
256 ; max_processes_backend (Integer)
257 ; Maximum number of concurrent database processes for background tasks.
258 max_processes_backend = 5
259
260 ; max_processes_frontend (Integer)
261 ; Maximum number of concurrent database processes for foreground tasks.
262 max_processes_frontend = 20
263
264 ; maximagesize (Integer)
265 ; Maximum size in bytes of an uploaded photo.
266 maximagesize = 800000
267
268 ; min_poll_interval (Integer)
269 ; minimal distance in minutes between two polls for a contact. Reasonable values are between 1 and 59.
270 min_poll_interval = 1
271
272 ; no_regfullname (Boolean)
273 ; Allow pseudonyms (true) or enforce a space between firstname and lastname in Full name, as an antispam measure (false).
274 no_regfullname = true
275
276 ; optimize_max_tablesize (Integer)
277 ; Maximum table size (in MB) for the automatic optimization.
278 ; -1 to disable automatic optimization.
279 ;  0 to use internal default (100MB)
280 optimize_max_tablesize = -1
281
282 ; session_handler (database|cache|native)
283 ; Whether to use Cache to store session data or to use PHP native session storage.
284 session_handler = database
285
286 ; cache_driver (database|memcache|memcached|redis)
287 ; Whether to use Memcache or Memcached or Redis to store temporary cache.
288 cache_driver = database
289
290 ; memcache_host (String)
291 ; Host name of the memcache daemon.
292 memcache_host = 127.0.0.1
293
294 ; memcache_port (Integer)
295 ; Port number of the memcache daemon.
296 memcache_port = 11211
297
298 ; memcached_hosts (Array)
299 ; Array of Memcached servers info "host, port(, weight)".
300 memcached_hosts[] = 127.0.0.1, 11211
301
302 ; redis_host (String)
303 ; Host name of the redis daemon.
304 redis_host = 127.0.0.1
305
306 ; redis_port (String)
307 ; Port number of the redis daemon.
308 redis_port = 6379
309
310 ; no_count (Boolean)
311 ; Don't do count calculations (currently only when showing albums)
312 no_count = false
313
314 ; no_oembed (Boolean)
315 ; Don't use OEmbed to fetch more information about a link.
316 no_oembed = false
317
318 ; no_smilies (Boolean)
319 ; Don't show smilies.
320 no_smilies = false
321
322 ; no_view_full_size (Boolean)
323 ; Don't add the link "View full size" under a resized image.
324 no_view_full_size = false
325
326 ; optimize_items (Boolean)
327 ; Triggers an SQL command to optimize the item table before expiring items.
328 optimize_items = false
329
330 ; pidfile (Path)
331 ; Daemon pid file path. For example: pidfile = /path/to/daemon.pid
332 pidfile =
333
334 ; urlpath (String)
335 ; If you are using a subdirectory of your domain you will need to put the relative path (from the root of your domain) here.
336 ; For instance if your URL is 'http://example.com/directory/subdirectory', set urlpath to 'directory/subdirectory'.
337 urlpath =
338
339 ; paranoia (Boolean)
340 ; Log out users if their IP address changed.
341 paranoia = false
342
343 ; permit_crawling (Boolean)
344 ; Restricts the search for not logged in users to one search per minute.
345 permit_crawling = false
346
347 ; free_crawls (Integer)
348 ; Number of "free" searches when "permit_crawling" is activated.
349 free_crawls = 10
350
351 ; crawl_permit_period (Integer)
352 ; Period in seconds between allowed searches when the number of free searches is reached and "permit_crawling" is activated.
353 crawl_permit_period = 60
354
355 ; queue_no_dead_check (Boolean)
356 ; Ignore if the target contact or server seems to be dead during queue delivery.
357 queue_no_dead_check = false
358
359 ; rino_encrypt (Integer)
360 ; Server-to-server private message encryption (RINO).
361 ; Encryption will only be provided if this setting is set to a non zero value on both servers.
362 ; Set to 0 to disable, 2 to enable, 1 is deprecated but wont need mcrypt.
363 rino_encrypt = 2
364
365 ; worker_debug (Boolean)
366 ; If enabled, it prints out the number of running processes split by priority.
367 worker_debug = false
368
369 ; worker_fetch_limit (Integer)
370 ; Number of worker tasks that are fetched in a single query.
371 worker_fetch_limit = 1
372
373 ; profiler (Boolean)
374 ; Enable internal timings to help optimize code. Needed for "rendertime" addon.
375 profiler = false
376
377 ; png_quality (Integer)
378 ; Sets the ImageMagick compression level for PNG images. Values ranges from 0 (uncompressed) to 9 (most compressed).
379 png_quality = 8
380
381 ; proxy_cache_time (Integer)
382 ; Period in seconds after which the cache is cleared.
383 proxy_cache_time = 86400
384
385 ; pushpoll_frequency (Integer)
386 ; Frequency of contact poll for subhub contact using the DFRM or OStatus network
387 ; Available values:
388 ; - 5 = every month
389 ; - 4 = every week
390 ; - 3 = every day
391 ; - 2 = twice a day
392 ; - 1 = every hour
393 ; - 0 = every minute
394 pushpoll_frequency = 3
395
396 ; remove_multiplicated_lines (Boolean)
397 ; If enabled, multiple linefeeds in items are stripped to a single one.
398 remove_multiplicated_lines = false
399
400 ; sendmail_params (Boolean)
401 ; Normal sendmail command parameters will be added when the PHP mail() function is called for sending e-mails.
402 ; This ensures the Sender Email address setting is applied to the message envelope rather than the host's default address.
403 ; Set to false if your non-sendmail agent is incompatible, or to restore old behavior of using the host address.
404 sendmail_params = true
405
406 ; show_unsupported_addons (Boolean)
407 ; Show all addons including the unsupported ones.
408 show_unsupported_addons = false
409
410 ; show_unsupported_themes (Boolean)
411 ; Show all themes including the unsupported ones.
412 show_unsupported_themes = false
413
414 ; show_global_community_hint (Boolean)
415 ; When the global community page is enabled, use this option to display a hint above the stream, that this is a collection of all public top-level postings that arrive on your node.
416 show_global_community_hint = false
417
418 ; allowed themes (Comma-separated list)
419 ; Themes users can change to in their settings
420 allowed_themes = 'quattro,vier,duepuntozero,smoothly'
421
422 ; theme (String)
423 ; System theme name
424 theme = vier
425
426 ; throttle_limit_day (Integer)
427 ; Maximum number of posts that a user can send per day with the API. 0 to disable daily throttling.
428 throttle_limit_day = 0
429
430 ; throttle_limit_week (Integer)
431 ; Maximum number of posts that a user can send per week with the API. 0 to disable weekly throttling.
432 throttle_limit_week = 0
433
434 ; throttle_limit_month (Integer)
435 ; Maximum number of posts that a user can send per month with the API. 0 to disable monthly throttling.
436 throttle_limit_month = 0
437
438 ; url (String)
439 ; The fully-qualified URL of this Friendica node.
440 ; Used by the worker in a non-HTTP execution environment.
441 url =
442
443 ; worker_cooldown (Integer)
444 ; Cooldown period in seconds after each worker function call.
445 worker_cooldown = 0
446
447 ; worker_load_exponent (Integer)
448 ; Default 3, which allows only 25% of the maximum worker queues when server load reaches around 37% of maximum load.
449 ; For a linear response where 25% of worker queues are allowed at 75% of maximum load, set this to 1.
450 ; Setting 0 would allow maximum worker queues at all times, which is not recommended.
451 worker_load_exponent = 3
452
453 ; directory (String)
454 ; URL of the global directory
455 directory = https://dir.friendi.social
456
457 ; xrd_timeout (Integer)
458 ; Timeout in seconds for fetching the XRD links.
459 xrd_timeout = 20
460
461 ; Used in the admin settings to lock certain features
462 [featurelock]
463
464 [experimental]
465
466 ; exp_themes (Boolean)
467 ; Show experimental themes in user settings.
468 exp_themes = false
469
470 [theme]
471
472 ; hide_eventlist (Boolean)
473 ; Don't show the birthdays and events on the profile and network page
474 hide_eventlist = false
475
476 [jabber]
477
478 ; debug (Boolean)
479 ; Enable debug level for the jabber account synchronisation.
480 debug = false
481
482 ; lockpath (Path)
483 ; Must be writable by the ejabberd process. if set then it will prevent the running of multiple processes.
484 lockpath =
485
486 INI;
487 // Keep this line