X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=index.php;h=caf25a0ef3039c92e95f2ea419b87abbc7565589;hb=042a49887f093945b7ef913556e506c30ce2bbda;hp=88b7f1380c0a9930500b05941660549f944540ca;hpb=120e3b45950671a8d2d46121fdbc5bd086cb85fa;p=mirrors%2FSokoMan.git
diff --git a/index.php b/index.php
index 88b7f13..caf25a0 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;
}
@@ -836,7 +842,7 @@ class Sklad_UI {
}
function check_auth() {
- new HTTP_Auth('SkladovejSystem', true, array($this->db->auth,'check_auth'));
+ new HTTP_Auth('WareHouse ['.BACKEND_AUTH.']', true, array($this->db->auth,'check_auth'));
}
function post_redirect_get($location, $message='', $error=false, $translate=true) {