Subversion Repositories oidplus

Rev

Rev 511 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 511 Rev 1346
Line 22... Line 22...
22
error_reporting(0);
22
error_reporting(0);
23
 
23
 
24
if (file_exists(__DIR__.'/userdata/favicon.ico')) {
24
if (file_exists(__DIR__.'/userdata/favicon.ico')) {
25
        $out = file_get_contents(__DIR__.'/userdata/favicon.ico');
25
        $out = file_get_contents(__DIR__.'/userdata/favicon.ico');
26
} else {
26
} else {
27
        $out = file_get_contents(__DIR__.'/img/favicon.ico');
27
        $out = file_get_contents(__DIR__.'/img/default_favicon.ico');
28
}
28
}
29
 
29
 
30
httpOutWithETag($out, 'image/x-icon', 'favicon.ico');
30
httpOutWithETag($out, 'image/x-icon', 'favicon.ico');