From: Andrew Dolgov Date: Wed, 21 Nov 2007 07:20:54 +0000 (+0100) Subject: define DEFAULT_ERROR_LEVEL in update_feeds.php X-Git-Tag: 1.2.18~37 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=aa8ab7ae9e8e752459591cabab8ef1d4d02cb6bc;p=tt-rss.git define DEFAULT_ERROR_LEVEL in update_feeds.php --- 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";