Share: fix breadcrumbs for public shared folder
This commit is contained in:
parent
762688762f
commit
7842b416d1
|
@ -148,7 +148,7 @@ if (isset($path)) {
|
|||
// Make breadcrumb
|
||||
$breadcrumb = array();
|
||||
$pathtohere = '';
|
||||
foreach (explode('/', $dir) as $i) {
|
||||
foreach (explode('/', $getPath) as $i) {
|
||||
if ($i != '') {
|
||||
$pathtohere .= '/' . $i;
|
||||
$breadcrumb[] = array('dir' => $pathtohere, 'name' => $i);
|
||||
|
|
Loading…
Reference in New Issue