$opts = array(
// 'debug' => true,
'roots' => array(
array(
'driver' => 'LocalFileSystem', // driver for accessing file system (REQUIRED)
'path' => '../files/', // path to files (REQUIRED)
'URL' => dirname($_SERVER['PHP_SELF']) . '/../files/', // URL to files (REQUIRED)
'uploadDeny' => array('all'), // All Mimetypes not allowed to upload
'uploadAllow' => array('image', 'text/plain'),// Mimetype `image` and `text/plain` allowed to upload
'uploadOrder' => array('deny', 'allow'), // allowed Mimetype `image` and `text/plain` only
'accessControl' => 'access' ,
'locale' => 'Arabic_Saudi Arabia.1256'
)
)
);
// run elFinder
$connector = new elFinderConnector(new elFinder($opts));
$connector->run();
私はアラビアリストされたファイルにロケールに関する を見ることができないです、エンコーディングUTF-8が、それでも同じ問題を試してみました、あなたはそれを設定する方法を私を助けてくださいだろうか? ありがとう –
あなたのサーバーエンコードはどれですか?その値を設定してください。 –
iconvで治療するので適切な値を設定してください。 –