summaryrefslogtreecommitdiff
path: root/update_feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-11-21 08:20:54 +0100
committerAndrew Dolgov <[email protected]>2007-11-21 08:20:54 +0100
commitaa8ab7ae9e8e752459591cabab8ef1d4d02cb6bc (patch)
tree0e487f974ae37f6a3cd0d496a90fca99efb97ad6 /update_feeds.php
parent22e064069510573b1baf3d1c9b1d97493bd48795 (diff)
define DEFAULT_ERROR_LEVEL in update_feeds.php
Diffstat (limited to 'update_feeds.php')
-rw-r--r--update_feeds.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/update_feeds.php b/update_feeds.php
index 967d2e429..d3d6a72cc 100644
--- a/update_feeds.php
+++ b/update_feeds.php
@@ -4,9 +4,11 @@
// directory defined in config.php won't be accessible
define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-cli');
define('SIMPLEPIE_CACHE_DIR', '/var/tmp/simplepie-ttrss-cache-cli');
-
+ define('DEFAULT_ERROR_LEVEL', E_ERROR | E_WARNING | E_PARSE);
define('DISABLE_SESSIONS', true);
+ error_reporting(DEFAULT_ERROR_LEVEL);
+
require_once "sanity_check.php";
require_once "config.php";
require_once "db.php";