Elgg  Version 3.0
favicon.ico.php
Go to the documentation of this file.
1 <?php
2 
7 elgg_set_http_header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', strtotime("+1 week")), true);
8 elgg_set_http_header("Pragma: public", true);
9 elgg_set_http_header("Cache-Control: public", true);
10 
11 elgg_set_http_header('Content-Type: image/x-icon');
12 
13 echo elgg_view('graphics/favicon.ico');
elgg_set_http_header($header, $replace=true)
Set a response HTTP header.
Definition: elgglib.php:57
elgg echo
Translates a string.
Definition: languages.js:43
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246