mirror of https://github.com/itflow-org/itflow
Added condition to check if favicon.ico exists in /uploads else use the default
This commit is contained in:
parent
16420f417f
commit
a5f08af78e
|
|
@ -18,6 +18,10 @@ header("X-Frame-Options: DENY");
|
|||
|
||||
<title><?php echo nullable_htmlentities($session_company_name); ?> | <?php echo nullable_htmlentities($config_app_name); ?></title>
|
||||
|
||||
<!-- If Fav Icon exists else use the default one -->
|
||||
<?php if(file_exists('uploads/favicon.ico')) { ?>
|
||||
<link rel="icon" type="image/x-icon" href="/uploads/favicon.ico">
|
||||
<?php } ?>
|
||||
<!-- Font Awesome Icons -->
|
||||
<link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue