mirror of https://github.com/itflow-org/itflow
Fix custom Favicon
This commit is contained in:
parent
0e401df3c0
commit
6c6a988c2b
|
|
@ -19,7 +19,7 @@ header("X-Frame-Options: DENY"); // Legacy
|
||||||
<meta name="robots" content="noindex">
|
<meta name="robots" content="noindex">
|
||||||
|
|
||||||
<!-- Favicon: If Fav Icon exists, else use the default one -->
|
<!-- 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">
|
<link rel="icon" type="image/x-icon" href="/uploads/favicon.ico">
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ $session_company_name = $row['company_name'];
|
||||||
Favicon
|
Favicon
|
||||||
If Fav Icon exists else use the default one
|
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">
|
<link rel="icon" type="image/x-icon" href="/uploads/favicon.ico">
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,9 +19,9 @@ header("X-Frame-Options: DENY");
|
||||||
<title><?= $session_company_name; ?></title>
|
<title><?= $session_company_name; ?></title>
|
||||||
|
|
||||||
<!-- Favicon -->
|
<!-- Favicon -->
|
||||||
<?php if(file_exists(__DIR__ . '../uploads/favicon.ico')): ?>
|
<?php if(file_exists($_SERVER['DOCUMENT_ROOT'] . '/uploads/favicon.ico')) { ?>
|
||||||
<link rel="icon" type="image/x-icon" href="/uploads/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/uploads/favicon.ico">
|
||||||
<?php endif; ?>
|
<?php } ?>
|
||||||
|
|
||||||
<!-- Font Awesome -->
|
<!-- Font Awesome -->
|
||||||
<link rel="stylesheet" href="/plugins/fontawesome-free/css/all.min.css">
|
<link rel="stylesheet" href="/plugins/fontawesome-free/css/all.min.css">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue