aboutsummaryrefslogtreecommitdiff
path: root/p/f.php
diff options
context:
space:
mode:
Diffstat (limited to 'p/f.php')
-rw-r--r--p/f.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/p/f.php b/p/f.php
index 98e50389b..fdec38c02 100644
--- a/p/f.php
+++ b/p/f.php
@@ -39,6 +39,12 @@ if (($ico_mtime == false || $ico_mtime < $txt_mtime || ($ico_mtime < time() - (m
show_default_favicon(1800);
exit();
}
+
+ FreshRSS_Context::initSystem();
+ if (!FreshRSS_Context::hasSystemConf()) {
+ header('HTTP/1.1 500 Internal Server Error');
+ die('Invalid system init!');
+ }
if (!download_favicon($url, $ico)) {
// Download failed
if ($ico_mtime == false) {