Fix custom Favicon

This commit is contained in:
johnnyq
2025-10-02 11:42:30 -04:00
parent 0e401df3c0
commit 6c6a988c2b
3 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ header("X-Frame-Options: DENY"); // Legacy
<meta name="robots" content="noindex">
<!-- Favicon: If Fav Icon exists, else use the default one -->
<?php if (file_exists('../uploads/favicon.ico')) { ?>
<?php if(file_exists($_SERVER['DOCUMENT_ROOT'] . '/uploads/favicon.ico')) { ?>
<link rel="icon" type="image/x-icon" href="/uploads/favicon.ico">
<?php } ?>