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
|
// Make breadcrumb
|
||||||
$breadcrumb = array();
|
$breadcrumb = array();
|
||||||
$pathtohere = '';
|
$pathtohere = '';
|
||||||
foreach (explode('/', $dir) as $i) {
|
foreach (explode('/', $getPath) as $i) {
|
||||||
if ($i != '') {
|
if ($i != '') {
|
||||||
$pathtohere .= '/' . $i;
|
$pathtohere .= '/' . $i;
|
||||||
$breadcrumb[] = array('dir' => $pathtohere, 'name' => $i);
|
$breadcrumb[] = array('dir' => $pathtohere, 'name' => $i);
|
||||||
|
|
Loading…
Reference in New Issue