aboutsummaryrefslogtreecommitdiff
path: root/p/i/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'p/i/index.php')
-rwxr-xr-xp/i/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/p/i/index.php b/p/i/index.php
index 5bc9c0d76..8a4f529d4 100755
--- a/p/i/index.php
+++ b/p/i/index.php
@@ -50,5 +50,7 @@ if (file_exists(DATA_PATH . '/do-install.txt')) {
echo '### Fatal error! ###<br />', "\n";
Minz_Log::error($e->getMessage());
echo 'See logs files.';
+ prepareSyslog();
+ syslog(LOG_INFO, 'FreshRSS Fatal error! ' . $e->getMessage());
}
}