From fb8a064e3a2ffc8dafdc7372018a5746e274d753 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Tue, 11 Dec 2018 17:14:15 +0100 Subject: [PATCH] [simplehtmldom] Increase MAX_FILE_SIZE to 10 MB This fixes an issue where larger pages could not be loaded because the size limit is too small --- vendor/simplehtmldom/simple_html_dom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/simplehtmldom/simple_html_dom.php b/vendor/simplehtmldom/simple_html_dom.php index 676807d3..43a11722 100644 --- a/vendor/simplehtmldom/simple_html_dom.php +++ b/vendor/simplehtmldom/simple_html_dom.php @@ -63,7 +63,7 @@ define('HDOM_INFO_ENDSPACE',7); define('DEFAULT_TARGET_CHARSET', 'UTF-8'); define('DEFAULT_BR_TEXT', "\r\n"); define('DEFAULT_SPAN_TEXT', " "); -define('MAX_FILE_SIZE', 600000); +define('MAX_FILE_SIZE', 10000000); /** Contents between curly braces "{" and "}" are interpreted as text */ define('HDOM_SMARTY_AS_TEXT', 1);