From: Thomas Mudrunka Date: Fri, 9 Dec 2011 19:32:56 +0000 (+0100) Subject: Pridan kod pro zobrazeni favicony X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=25b3e809e50d1443d60157bb29923ec93e0bbe06;p=mirrors%2FSokoMan.git Pridan kod pro zobrazeni favicony --- 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; }