diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-08-07 23:05:28 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-08-07 23:05:28 +0200 |
commit | cfef221af47d45c4072fc2491958d02deb86862e (patch) | |
tree | 58340885e7dedbce733323f2f66776ae55aaa9a1 /application/views | |
parent | 35ac6214969154e27eecbd7b9ee92c45680a071d (diff) |
Add favicon support
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views')
-rw-r--r-- | application/views/header.php | 6 |
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> |