Added favicon condition everywhere
This commit is contained in:
@@ -24,6 +24,14 @@ $browser = sanitizeInput(getWebBrowser($user_agent));
|
|||||||
|
|
||||||
<title><?php echo nullable_htmlentities($config_app_name); ?></title>
|
<title><?php echo nullable_htmlentities($config_app_name); ?></title>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Favicon
|
||||||
|
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 -->
|
<!-- Font Awesome Icons -->
|
||||||
<link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">
|
<link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">
|
||||||
<!-- Theme style -->
|
<!-- Theme style -->
|
||||||
|
|||||||
+5
-1
@@ -18,10 +18,14 @@ header("X-Frame-Options: DENY");
|
|||||||
|
|
||||||
<title><?php echo nullable_htmlentities($session_company_name); ?> | <?php echo nullable_htmlentities($config_app_name); ?></title>
|
<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 -->
|
<!--
|
||||||
|
Favicon
|
||||||
|
If Fav Icon exists else use the default one
|
||||||
|
-->
|
||||||
<?php if(file_exists('uploads/favicon.ico')) { ?>
|
<?php if(file_exists('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 } ?>
|
||||||
|
|
||||||
<!-- Font Awesome Icons -->
|
<!-- Font Awesome Icons -->
|
||||||
<link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">
|
<link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">
|
||||||
|
|
||||||
|
|||||||
@@ -272,6 +272,15 @@ if (isset($_POST['login'])) {
|
|||||||
|
|
||||||
<!-- 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">
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Favicon
|
||||||
|
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 } ?>
|
||||||
|
|
||||||
<!-- Theme style -->
|
<!-- Theme style -->
|
||||||
<link rel="stylesheet" href="dist/css/adminlte.min.css">
|
<link rel="stylesheet" href="dist/css/adminlte.min.css">
|
||||||
<!-- Google Font: Source Sans Pro -->
|
<!-- Google Font: Source Sans Pro -->
|
||||||
|
|||||||
@@ -88,6 +88,14 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['login'])) {
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="robots" content="noindex">
|
<meta name="robots" content="noindex">
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Favicon
|
||||||
|
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 -->
|
<!-- Font Awesome -->
|
||||||
<link rel="stylesheet" href="../plugins/fontawesome-free/css/all.min.css">
|
<link rel="stylesheet" href="../plugins/fontawesome-free/css/all.min.css">
|
||||||
|
|
||||||
|
|||||||
@@ -186,6 +186,14 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
|
|||||||
<!-- 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">
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Favicon
|
||||||
|
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 } ?>
|
||||||
|
|
||||||
<!-- Theme style -->
|
<!-- Theme style -->
|
||||||
<link rel="stylesheet" href="../dist/css/adminlte.min.css">
|
<link rel="stylesheet" href="../dist/css/adminlte.min.css">
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,14 @@ header("X-Frame-Options: DENY"); // Legacy
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="robots" content="noindex">
|
<meta name="robots" content="noindex">
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Favicon
|
||||||
|
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 -->
|
<!-- Font Awesome -->
|
||||||
<link rel="stylesheet" href="../plugins/fontawesome-free/css/all.min.css">
|
<link rel="stylesheet" href="../plugins/fontawesome-free/css/all.min.css">
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user