首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ElFinder +隐藏目录

ElFinder +隐藏目录
EN

Stack Overflow用户
提问于 2013-08-24 09:20:25
回答 1查看 5.4K关注 0票数 0

我目前正在使用ElFinder 2.0。

我想在主目录中隐藏一些目录。

我怎么能这么做?

我尝试了connector.php文件

但没有成功。

这是我的密码

代码语言:javascript
复制
$opts = array(
    // 'debug' => true,
    'roots' => array(
        array(
            'driver' => 'LocalFileSystem', // driver for accessing file system (REQUIRED)
            'path' => '/home/workioscProject/public_html/codensa/catalogo', // path to files (REQUIRED)
            'URL' => 'http://76.76.163.155/workioscProject/codensa/catalogo/', // URL to files (REQUIRED)
            'accessControl' => 'access'             // disable and hide dot starting files (OPTIONAL)
        ),
    ),
    'attributes' => array(
        array(// hide anything else
            'pattern' => '!^/exportForms!',
            'hidden' => true
        )
    )
);

// run elFinder
$connector = new elFinderConnector(new elFinder($opts));
$connector->run();

我做了什么?

提前谢谢。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-08-24 09:28:29

代码语言:javascript
复制
$opts = array(
    // 'debug' => true,
    'roots' => array(
        array(
            'driver' => 'LocalFileSystem', // driver for accessing file system (REQUIRED)
            'path' => '/home/workioscProject/public_html/codensa/catalogo', // path to files (REQUIRED)
            'URL' => 'http://76.76.163.155/workioscProject/codensa/catalogo/', // URL to files (REQUIRED)
            'accessControl' => 'access' ,            // disable and hide dot starting files (OPTIONAL)
            'attributes' => array(
                array(// hide anything else
                    'pattern' => '!^/exportForms!',
                    'hidden' => true
                )
            )
        ),
    )
);
票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/18416934

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档