summaryrefslogtreecommitdiffstats
path: root/application/views/header.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-08-07 23:05:28 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-08-07 23:05:28 +0200
commitcfef221af47d45c4072fc2491958d02deb86862e (patch)
tree58340885e7dedbce733323f2f66776ae55aaa9a1 /application/views/header.php
parent35ac6214969154e27eecbd7b9ee92c45680a071d (diff)
Add favicon support
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/header.php')
-rw-r--r--application/views/header.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/application/views/header.php b/application/views/header.php
index 42d841a8b..683fc7727 100644
--- a/application/views/header.php
+++ b/application/views/header.php
@@ -20,7 +20,11 @@ if (is_cli_client() && !isset($force_full_html)) {
if (file_exists(FCPATH."data/local/style.css")) {
echo '<link href="'.link_with_mtime("/data/local/style.css").'" rel="stylesheet">';
}
-?>
+
+ if (file_exists(FCPATH."data/local/favicon.png")) {
+ echo '<link href="'.link_with_mtime("/data/local/favicon.png").'" rel="shortcut icon">';
+ }
+ ?>
</head>
<body>