fix #102 ?
This commit is contained in:
parent
cdac1db064
commit
f2bbd37ec2
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ if (!$lazyload && sizeof($dirs) + sizeof($files) > $thumbs_pr_page) {
|
||||||
if ($requestedDir != "" && $requestedDir != "photos") {
|
if ($requestedDir != "" && $requestedDir != "photos") {
|
||||||
$breadcrumb_navigation = "<div class=\"NavWrapper\">";
|
$breadcrumb_navigation = "<div class=\"NavWrapper\">";
|
||||||
$breadcrumb_navigation .= "<a href='?dir='>" . $label_home . "</a> $breadcrumb_separator ";
|
$breadcrumb_navigation .= "<a href='?dir='>" . $label_home . "</a> $breadcrumb_separator ";
|
||||||
$navitems = explode("/", $_REQUEST['dir']);
|
$navitems = explode("/", htmlspecialchars($_REQUEST['dir']));
|
||||||
for ($i = 0; $i < sizeof($navitems); $i++) {
|
for ($i = 0; $i < sizeof($navitems); $i++) {
|
||||||
if ($i == sizeof($navitems)-1) {
|
if ($i == sizeof($navitems)-1) {
|
||||||
$breadcrumb_navigation .= $navitems[$i];
|
$breadcrumb_navigation .= $navitems[$i];
|
||||||
|
|
Loading…
Reference in a new issue