diff --git a/index.php b/index.php index ab1be79..9cd7b1d 100644 --- a/index.php +++ b/index.php @@ -61,7 +61,7 @@ $projects = [ */ function logoExists(string $webPath): bool { $base = rtrim($_SERVER['DOCUMENT_ROOT'] ?? '/var/www/fabianschieder.com', '/'); - $full = $base . '/' . ltrim($webPath, '/'); + $full = $base . ltrim($webPath, '.'); // Debug: echo "\n"; return is_file($full); } @@ -73,7 +73,7 @@ function logoExists(string $webPath): bool {