From aa8ab7ae9e8e752459591cabab8ef1d4d02cb6bc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 21 Nov 2007 08:20:54 +0100 Subject: [PATCH] define DEFAULT_ERROR_LEVEL in update_feeds.php --- update_feeds.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/update_feeds.php b/update_feeds.php index 967d2e42..d3d6a72c 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"; -- 2.39.5