From 25b3e809e50d1443d60157bb29923ec93e0bbe06 Mon Sep 17 00:00:00 2001 From: Thomas Mudrunka Date: Fri, 9 Dec 2011 20:32:56 +0100 Subject: [PATCH] Pridan kod pro zobrazeni favicony --- index.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.php b/index.php index 88b7f13..95d4a59 100755 --- a/index.php +++ b/index.php @@ -151,10 +151,16 @@ class HTML { return "$html"; } + function favicon($url='/favicon.ico') { + return ''; + + } + function head($title=false,$charset='UTF-8',$more='') { $title = $title ? "\n$title" : ''; $html= ''; $html.= ''.$title.$more; + $html.= $this->favicon(dirname($_SERVER['SCRIPT_NAME']).'/favicon.ico'); $html.= ''; return $html; } -- 2.30.2