From 1379ff8dc2457fd0393cddc855764ba3e972e15a Mon Sep 17 00:00:00 2001 From: Repellent Date: Thu, 16 Oct 2025 18:54:45 +0500 Subject: [PATCH] =?UTF-8?q?fix=20elfinder=20=D0=B2=20=D1=87=D0=B0=D1=81?= =?UTF-8?q?=D1=82=D0=B8=20=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D0=BF=D1=80=D0=B5=D0=B2=D1=8C=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/redactor/elfinder/php/connector.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/redactor/elfinder/php/connector.php b/lib/redactor/elfinder/php/connector.php index d76550a..ce7e012 100644 --- a/lib/redactor/elfinder/php/connector.php +++ b/lib/redactor/elfinder/php/connector.php @@ -119,6 +119,7 @@ $opts = array( 'uploadDeny' => array('all'), 'uploadOverwrite' => false, 'uploadMaxSize' => '256m', + 'tmbPath' => 'th', 'accessControl' => 'access', // disable and hide dot starting files (OPTIONAL) 'attributes' => array( array( @@ -135,6 +136,13 @@ $opts = array( 'hidden' => true, 'locked' => false ), + array( + 'pattern' => '/th/', + 'read' => false, + 'write' => false, + 'hidden' => true, + 'locked' => false + ), array( 'pattern' => '/\.php$/', 'read' => false,