From eac33f5980a8f4b749e769485ad1cd670d7606d4 Mon Sep 17 00:00:00 2001 From: Alan Date: Tue, 6 Feb 2024 12:34:31 +0800 Subject: [PATCH] enable debug as an option --- File/Convert.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/File/Convert.php b/File/Convert.php index ed9cb725..6cf3a85e 100644 --- a/File/Convert.php +++ b/File/Convert.php @@ -57,6 +57,9 @@ class File_Convert $this->mimetype = $mimetype; self::$options = $options; + if (isset($options['debug'])) { + $this->debug = $options['debug']; + } } -- 2.39.2