]> git.wh0rd.org Git - tt-rss.git/commitdiff
define DEFAULT_ERROR_LEVEL in update_feeds.php
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 21 Nov 2007 07:20:54 +0000 (08:20 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 21 Nov 2007 07:20:54 +0000 (08:20 +0100)
update_feeds.php

index 967d2e4290e54ac5249e08bc5ef00a28c52cc88a..d3d6a72cc3648abdb14f7f02aed44f418e854d03 100644 (file)
@@ -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";