在elFinder中打开界面时如何显示特定的文件夹? [英] How to show a specific folder when the interface opens in elFinder?
本文介绍了在elFinder中打开界面时如何显示特定的文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
打开elFinder界面时是否可以打开特定文件夹?
Is there a way to open a specific folder when the elFinder interface opens?
我想通过js客户端中的参数或发送到php连接器的调用中的参数来设置文件夹,但是找不到解决方案...
I want to set the folder, either by a parameter in the js client or a parameter in the call sent to the php connector, but can't find a solution...
推荐答案
https://github.com/Studio-42/elFinder/wiki/Connector-configuration-options
$opts = array(
'roots' => array(
array(
'driver' => 'LocalFileSystem',
'path' => '/path/to/files/',
'startPath' => '/path/to/folder/to/open',
'URL' => 'http://localhost/to/files/'
)
)
);
也许这可以帮助
这篇关于在elFinder中打开界面时如何显示特定的文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文