From f4a98e7a9be3fce185ce792eea87dcfe9a099169 Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 7 Jul 2019 10:26:22 +0100 Subject: [PATCH] GET flag to skip accelerator --- core/imageboard/image.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/imageboard/image.php b/core/imageboard/image.php index 70717d94..c39ee66c 100644 --- a/core/imageboard/image.php +++ b/core/imageboard/image.php @@ -262,6 +262,8 @@ class Image public static function query_accelerator($req) { + if(isset($_GET['DISABLE_ACCEL'])) return null; + global $_tracer; $fp = @fsockopen("127.0.0.1", 21212); if (!$fp) {