]> git.mxchange.org Git - friendica.git/blobdiff - static/defaults.config.php
Merge pull request #9036 from annando/clear-cache
[friendica.git] / static / defaults.config.php
index ab47eef19ce40e0ca90f85e5c0cba30bb9892968..018e0dc635a837ad16b39c28bcb6fdd5058d4742 100644 (file)
@@ -45,8 +45,23 @@ return [
                'database' => '',
 
                // charset (String)
-               // Database connexion charset. Changing this value will likely corrupt special characters.
+               // Database connection charset. Changing this value will likely corrupt special characters.
                'charset' => 'utf8mb4',
+
+               // emulate_prepares (Boolean) (Experimental)
+               // If enabled, prepared statements will be emulated.
+               // In combination with MySQLi this will cast all return values to strings.
+               'emulate_prepares' => false,
+
+               // pdo_emulate_prepares (Boolean) (Experimental)
+               // If enabled, the builtin emulation for prepared statements is used.
+               // Due to limitations of that emulation (all return values are casted as strings)
+               // this will most likely cause issues and should not be used on production systems.
+               'pdo_emulate_prepares' => false,
+
+               // disable_pdo (Boolean)
+               // PDO is used by default (if available). Otherwise MySQLi will be used.
+               'disable_pdo' => false,
        ],
        'config' => [
                // admin_email (Comma-separated list)
@@ -67,6 +82,10 @@ return [
                'php_path' => 'php',
        ],
        'system' => [
+               // adjust_poll_frequency (Boolean)
+               // Automatically detect and set the best feed poll frequency.
+               'adjust_poll_frequency' => false,
+
                // allowed_link_protocols (Array)
                // Allowed protocols in links URLs, add at your own risk. http(s) is always allowed.
                'allowed_link_protocols' => ['ftp://', 'ftps://', 'mailto:', 'cid:', 'gopher://'],
@@ -88,6 +107,10 @@ return [
                // chose "Remember me" when logging in is considered logged out.
                'auth_cookie_lifetime' => 7,
 
+               // big_emojis (Boolean)
+               // Display "Emoji Only" posts in big.
+               'big_emojis' => false,
+
                // block_local_dir (Boolean)
                // Deny public access to the local user directory.
                'block_local_dir' => false,
@@ -124,9 +147,9 @@ return [
                // Watchlist of indexes to watch.
                'db_log_index_watch' => '',
 
-               // db_log_index_blacklist (Comma-separated list)
-               // Blacklist of indexes that shouldn't be watched.
-               'db_log_index_blacklist' => '',
+               // db_log_index_denylist (Comma-separated list)
+               // Deny list of indexes that shouldn't be watched.
+               'db_log_index_denylist' => '',
 
                // db_loglimit (Integer)
                // If a database call lasts longer than this value in seconds it is logged.
@@ -273,6 +296,10 @@ return [
                // Maximum number of queue items for a single contact before subsequent messages are discarded.
                'max_contact_queue' => 500,
 
+               // max_feed_items (Integer)
+               // Maximum number of feed items that are fetched and processed. For unlimited items set to 0.
+               'max_feed_items' => 20,
+
                // 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).
@@ -308,7 +335,7 @@ return [
 
                // min_poll_interval (Integer)
                // minimal distance in minutes between two polls for a contact. Reasonable values are between 1 and 59.
-               'min_poll_interval' => 1,
+               'min_poll_interval' => 15,
 
                // no_count (Boolean)
                // Don't do count calculations (currently only when showing photo albums).
@@ -496,6 +523,10 @@ return [
                // Logs every call to /inbox as a JSON file in Friendica's temporary directory
                'ap_inbox_log' => false,
 
+               // show_direction (Boolean)
+               // Display if a post had been fetched or had been pushed towards our server
+               'show_direction' => false,
+
                // total_ap_delivery (Boolean)
                // Deliver via AP to every possible receiver and we suppress the delivery to these contacts with other protocols
                'total_ap_delivery' => false,