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,