为什么 Elfinder 在目录外不起作用

问题描述

我最近认识了 elfinder。然后我尝试使用elfinder,遇到了一个问题,就是在elfinder显示中无法打开最早的目录。

我使用本地主机访问我的名字目录 (test)。目录存在:

test/
- css <- css for main page not for elfinder
- directory/PHP/connector.minimal.PHP <-- connector elfinder
- js <- js for main page not for elfinder
- index.PHP <-- display elfinder

index.PHP)的一部分,我更改了“url”:

url : 'directory/PHP/connector.minimal.PHP'  // connector URL (required)

connector.minimal.PHP)的一部分,我更改了“路径”和“URL”:

'path'          => '../files/',// path to files (required)
'URL'           => dirname($_SERVER['PHP_SELF']) . '/../files/',// URL to files (required)

变成

'path'          => '../../',// path to files (required)
'URL'           => dirname($_SERVER['PHP_SELF']) . '/../../',// URL to files (required)

它起作用了,显示目录起始页。然后我试图一一点击elfinder中出现的目录,然后我收到了同样的通知错误

无法打开“目录”。未找到文件夹。

但在 elfinder显示目录

test/
- css <- css for main page not for elfinder
- directory/PHP/connector.minimal.PHP <-- connector elfinder
- js <- js for main page not for elfinder
- index.PHP <-- display elfinder

但是我点击目录没有发现错误

你能解释一下原因吗?我应该如何改变它?请在此处告诉我并帮助我解决问题。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)