aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
Diffstat (limited to 'p')
-rwxr-xr-xp/i/index.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/p/i/index.php b/p/i/index.php
index 0d3f11900..cd82ae538 100755
--- a/p/i/index.php
+++ b/p/i/index.php
@@ -76,11 +76,8 @@ if (file_exists(DATA_PATH . '/do-install.txt')) {
}
if ($error) {
- // TODO this should be definitely improved to display a nicer error
- // page to the users (especially non administrators).
- echo '### Fatal error! ###<br />', "\n";
Minz_Log::error($error);
- echo 'See logs files.';
+ errorMessage('Fatal error');
syslog(LOG_INFO, 'FreshRSS Fatal error! ' . $error);
}
}