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