-<?php\r
-\r
-// SETTINGS.PHP\r
-\r
-/* This file declares the default values for the admin settings of Friendica.\r
- *\r
- * These values will be overridden by the admin settings page.\r
- *\r
- * Please don't edit this file directly as its content may change in the upcoming versions.\r
- */\r
-\r
-return [\r
- 'config' => [\r
- // info (String)\r
- // Plaintext description of this node, used in the /friendica module.\r
- 'info' => '',\r
-\r
- // register_policy (Constant)\r
- // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.\r
- // Be certain to create your own personal account before setting REGISTER_CLOSED.\r
- // 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.\r
- 'register_policy' => 'REGISTER_CLOSED',\r
-\r
- // register_text (String)\r
- // Will be displayed prominently on the registration page.\r
- 'register_text' => '',\r
-\r
- // sitename (String)\r
- // Displayed server name.\r
- 'sitename' => 'Friendica Social Network',\r
- ],\r
- 'system' => [\r
- // account_abandon_days (Integer)\r
- // Will not waste system resources polling external sites for abandonded accounts.\r
- // Enter 0 for no time limit.\r
- 'account_abandon_days' => 0,\r
-\r
- // addon (Comma-separated list)\r
- // Manual list of addons which are enabled on this system.\r
- 'addon' => '',\r
-\r
- // allowed_themes (Comma-separated list)\r
- // Themes users can change to in their settings.\r
- 'allowed_themes' => 'quattro,vier,duepuntozero,smoothly',\r
-\r
- // default_timezone (String)\r
- // Choose a default timezone. See https://secure.php.net/manual/en/timezones.php\r
- // It only applies to timestamps for anonymous viewers.\r
- 'default_timezone' => 'UTC',\r
-\r
- // directory (String)\r
- // URL of the global directory.\r
- 'directory' => 'https://dir.friendica.social',\r
-\r
- // forbidden_nicknames (Comma-separated list)\r
- // Prevents users from registering the specified nicknames on this node.\r
- // Default value comprises classic role names from RFC 2142.\r
- 'forbidden_nicknames' => 'info, marketing, sales, support, abuse, noc, security, postmaster, hostmaster, usenet, news, webmaster, www, uucp, ftp, root, sysop',\r
-\r
- // jpeg_quality (Integer)\r
- // Sets the ImageMagick quality level for JPEG images. Values ranges from 50 (awful) to 100 (near perfect).\r
- 'jpeg_quality' => 100,\r
-\r
- // language (String)\r
- // System default languague, inluding admin-created user default language.\r
- // Two-letters ISO 639-1 code.\r
- 'language' => 'en',\r
-\r
- // max_image_length (Integer)\r
- // An alternate way of limiting picture upload sizes.\r
- // Specify the maximum pixel length that pictures are allowed to be (for non-square pictures, it will apply to the longest side).\r
- // Pictures longer than this length will be resized to be this length (on the longest side, the other side will be scaled appropriately).\r
- // If you don't want to set a maximum length, set to -1.\r
- 'max_image_length' => -1,\r
-\r
- // maximagesize (Integer)\r
- // Maximum size in bytes of an uploaded photo.\r
- 'maximagesize' => 800000,\r
-\r
- // no_regfullname (Boolean)\r
- // Allow pseudonyms (true) or enforce a space between first name and last name in Full name, as an anti spam measure (false).\r
- 'no_regfullname' => true,\r
-\r
- // optimize_max_tablesize (Integer)\r
- // Maximum table size (in MB) for the automatic optimization.\r
- // -1 to disable automatic optimization.\r
- // 0 to use internal default (100MB)\r
- 'optimize_max_tablesize' => -1,\r
-\r
- // rino_encrypt (Integer)\r
- // Server-to-server private message encryption (RINO).\r
- // Encryption will only be provided if this setting is set to a non zero value on both servers.\r
- // Set to 0 to disable, 2 to enable, 1 is deprecated but won't need mcrypt.\r
- 'rino_encrypt' => 2,\r
-\r
- // temppath (String)\r
- // Custom temporary file directory\r
- 'temppath' => '',\r
-\r
- // theme (String)\r
- // System theme name.\r
- 'theme' => 'vier',\r
-\r
- // url (String)\r
- // The fully-qualified URL of this Friendica node.\r
- // Used by the worker in a non-HTTP execution environment.\r
- 'url' => '',\r
- ],\r
-\r
- // Used in the admin settings to lock certain features\r
- 'featurelock' => [\r
- ],\r
-];\r
+<?php
+
+// SETTINGS.PHP
+
+/* This file declares the default values for the admin settings of Friendica.
+ *
+ * These values will be overridden by the admin settings page.
+ *
+ * Please don't edit this file directly as its content may change in the upcoming versions.
+ */
+
+return [
+ 'config' => [
+ // info (String)
+ // Plaintext description of this node, used in the /friendica module.
+ 'info' => '',
+
+ // register_policy (Constant)
+ // Your choices are OPEN, APPROVE, or CLOSED.
+ // Be certain to create your own personal account before setting CLOSED.
+ // 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.
+ 'register_policy' => \Friendica\Module\Register::CLOSED,
+
+ // register_text (String)
+ // Will be displayed prominently on the registration page.
+ 'register_text' => '',
+
+ // sitename (String)
+ // Displayed server name.
+ 'sitename' => 'Friendica Social Network',
+ ],
+ 'system' => [
+ // account_abandon_days (Integer)
+ // Will not waste system resources polling external sites for abandonded accounts.
+ // Enter 0 for no time limit.
+ 'account_abandon_days' => 0,
+
+ // addon (Comma-separated list)
+ // Manual list of addons which are enabled on this system.
+ 'addon' => '',
+
+ // allowed_themes (Comma-separated list)
+ // Themes users can change to in their settings.
+ 'allowed_themes' => 'quattro,vier,duepuntozero,smoothly',
+
+ // debugging (boolean)
+ // Enable/Disable Debugging (logging)
+ 'debugging' => false,
+
+ // default_timezone (String)
+ // Choose a default timezone. See https://secure.php.net/manual/en/timezones.php
+ // It only applies to timestamps for anonymous viewers.
+ 'default_timezone' => 'UTC',
+
+ // directory (String)
+ // URL of the global directory.
+ 'directory' => 'https://dir.friendica.social',
+
+ // forbidden_nicknames (Comma-separated list)
+ // Prevents users from registering the specified nicknames on this node.
+ // Default value comprises classic role names from RFC 2142.
+ 'forbidden_nicknames' => 'info, marketing, sales, support, abuse, noc, security, postmaster, hostmaster, usenet, news, webmaster, www, uucp, ftp, root, sysop',
+
+ // jpeg_quality (Integer)
+ // Sets the ImageMagick quality level for JPEG images. Values ranges from 50 (awful) to 100 (near perfect).
+ 'jpeg_quality' => 100,
+
+ // language (String)
+ // System default languague, inluding admin-created user default language.
+ // Two-letters ISO 639-1 code.
+ 'language' => 'en',
+
+ // logfile (String)
+ // The logfile for storing logs.
+ // Can be a full path or a relative path to the Friendica home directory
+ 'logfile' => 'friendica.log',
+
+ // loglevel (String)
+ // The loglevel for all logs.
+ // Has to be one of these values: emergency, alert, critical, error, warning, notice, info, debug
+ 'loglevel' => 'notice',
+
+ // max_image_length (Integer)
+ // An alternate way of limiting picture upload sizes.
+ // Specify the maximum pixel length that pictures are allowed to be (for non-square pictures, it will apply to the longest side).
+ // Pictures longer than this length will be resized to be this length (on the longest side, the other side will be scaled appropriately).
+ // If you don't want to set a maximum length, set to -1.
+ 'max_image_length' => -1,
+
+ // maximagesize (Integer)
+ // Maximum size in bytes of an uploaded photo.
+ 'maximagesize' => 800000,
+
+ // no_regfullname (Boolean)
+ // Allow pseudonyms (true) or enforce a space between first name and last name in Full name, as an anti spam measure (false).
+ 'no_regfullname' => true,
+
+ // optimize_max_tablesize (Integer)
+ // Maximum table size (in MB) for the automatic optimization.
+ // -1 to disable automatic optimization.
+ // 0 to use internal default (100MB)
+ 'optimize_max_tablesize' => -1,
+
+ // rino_encrypt (Integer)
+ // Server-to-server private message encryption (RINO).
+ // Encryption will only be provided if this setting is set to a non zero value on both servers.
+ // Set to 0 to disable, 2 to enable, 1 is deprecated but won't need mcrypt.
+ 'rino_encrypt' => 2,
+
+ // temppath (String)
+ // Custom temporary file directory
+ 'temppath' => '',
+
+ // theme (String)
+ // System theme name.
+ 'theme' => 'vier',
+
+ // url (String)
+ // The fully-qualified URL of this Friendica node.
+ // Used by the worker in a non-HTTP execution environment.
+ 'url' => '',
+ ],
+
+ // Used in the admin settings to lock certain features
+ 'featurelock' => [
+ ],
+];