Add Directory Breadcrumbs
This commit is contained in:
parent
7824793afe
commit
4da80cbc22
2 changed files with 4 additions and 4 deletions
|
@ -117,9 +117,9 @@ if (!empty($curfiles)| !empty($dirs)) {
|
||||||
$data['images'][] = $tmp;
|
$data['images'][] = $tmp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!empty($dirs)) {
|
if (!empty($d)) {
|
||||||
$tmppath = '';
|
$tmppath = '';
|
||||||
foreach($dirs as $tmpdir) {
|
foreach($d as $tmpdir) {
|
||||||
$tmppath=$tmppath.DIRECTORY_SEPARATOR.$tmpdir;
|
$tmppath=$tmppath.DIRECTORY_SEPARATOR.$tmpdir;
|
||||||
$data['crumbs'][$tmpdir] = $tmppath;
|
$data['crumbs'][$tmpdir] = $tmppath;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue