diff --git a/inc/content.php b/inc/content.php index 921c96d..7eed6fe 100644 --- a/inc/content.php +++ b/inc/content.php @@ -97,7 +97,7 @@ $i = 1; echo 'Home >>'; if (!empty($breadcrumb)) { foreach ($breadcrumb as $key => $value) { - if ($i === $nbBread) { + if ($i === $nbBread && $ci['ac'] !== 'view') { echo $value; } else { echo '', $value, ' >> '; diff --git a/index.php b/index.php index c1653a1..f68585a 100644 --- a/index.php +++ b/index.php @@ -241,9 +241,6 @@ function makeBreadcrumb($bc, $fullListDir) { return $breadcrumb; } -function renameDir() { -} - function listVideo($breadcrumb) { return glob("*.jpg"); }