<?php
/**
 * Centralized Favicon Include
 * Add this to all pages for consistent favicon management
 */

// Determine the correct path based on the calling page's location
$requestUri = $_SERVER['REQUEST_URI'] ?? '';
$isAdminPage = strpos($requestUri, '/admin/') !== false;
$faviconPath = $isAdminPage ? '../' : '';
?>
<!-- Favicon - Centralized Management -->
<link rel="icon" type="image/svg+xml" href="<?php echo $faviconPath; ?>favicon.svg">
<link rel="icon" type="image/x-icon" href="<?php echo $faviconPath; ?>favicon.ico">
<link rel="apple-touch-icon" href="<?php echo $faviconPath; ?>favicon.svg">
