diff --git a/CHANGELOG.md b/CHANGELOG.md index c4a4d54d..45e3a587 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * CHANGED: Improved mobile UI - obscured send button and hard to click shortener button (#477) * CHANGED: Enhanced URL shortener integration (#479) * CHANGED: Improved file upload drag & drop UI (#317) + * CHANGED: Increased default size limit from 2 to 10 MiB, switch data from BLOB to MEDIUMBLOB in MySQL (#458) * CHANGED: Upgrading libraries to: DOMpurify 2.0.1 * FIXED: Enabling browsers without WASM to create pastes and read uncompressed ones (#454) * FIXED: Cloning related issues (#489, #491, #493, #494) diff --git a/cfg/conf.sample.php b/cfg/conf.sample.php index 0f2d50d5..91616b84 100644 --- a/cfg/conf.sample.php +++ b/cfg/conf.sample.php @@ -29,8 +29,8 @@ defaultformatter = "plaintext" ; (optional) set a syntax highlighting theme, as found in css/prettify/ ; syntaxhighlightingtheme = "sons-of-obsidian" -; size limit per paste or comment in bytes, defaults to 2 Mebibytes -sizelimit = 2097152 +; size limit per paste or comment in bytes, defaults to 10 Mebibytes +sizelimit = 10485760 ; template to include, default is "bootstrap" (tpl/bootstrap.php) template = "bootstrap" diff --git a/lib/Configuration.php b/lib/Configuration.php index 67ecc234..d0258e12 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -45,7 +45,7 @@ class Configuration 'burnafterreadingselected' => false, 'defaultformatter' => 'plaintext', 'syntaxhighlightingtheme' => null, - 'sizelimit' => 2097152, + 'sizelimit' => 10485760, 'template' => 'bootstrap', 'notice' => '', 'languageselection' => false,