Php ElFinder+;隐藏目录
我目前正在使用ElFinder 2.0 我想在主目录中隐藏一些目录 我该怎么做 我尝试了connector.php文件 但没有成功 这是我的密码Php ElFinder+;隐藏目录,php,elfinder,Php,Elfinder,我目前正在使用ElFinder 2.0 我想在主目录中隐藏一些目录 我该怎么做 我尝试了connector.php文件 但没有成功 这是我的密码 $opts = array( // 'debug' => true, 'roots' => array( array( 'driver' => 'LocalFileSystem', // driver for accessing file system (REQUIRED)
$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();
我做什么
提前谢谢
$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
)
)
),
)
);