From: Vincent Zanotti Date: Wed, 17 Jun 2009 20:57:35 +0000 (+0200) Subject: Fixes the display of our favicon. X-Git-Tag: core/1.0.1~11^2 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2b1ac5abd3eafffdc01beb88a90ca0ba88c6ad18;p=platal.git Fixes the display of our favicon. Signed-off-by: Vincent Zanotti --- diff --git a/modules/core.php b/modules/core.php index fd8518f..9493be9 100644 --- a/modules/core.php +++ b/modules/core.php @@ -75,7 +75,8 @@ class CoreModule extends PLModule function handler_favicon(&$page) { - $data = file_get_contents(dirname(__FILE__).'/../htdocs/images/favicon.ico'); + global $globals; + $data = file_get_contents($globals->spoolroot . '/htdocs/images/favicon.ico'); header('Content-Type: image/x-icon'); echo $data; exit;