projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4074f9a
)
Fixes the display of our favicon.
core/1.0.0/maint
author
Vincent Zanotti
<vincent.zanotti@m4x.org>
Wed, 17 Jun 2009 20:57:35 +0000
(22:57 +0200)
committer
Vincent Zanotti
<vincent.zanotti@m4x.org>
Wed, 17 Jun 2009 20:57:35 +0000
(22:57 +0200)
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
modules/core.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/core.php
b/modules/core.php
index
fd8518f
..
9493be9
100644
(file)
--- 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;