define DEFAULT_ERROR_LEVEL in update_feeds.php

master
Andrew Dolgov 17 years ago
parent 22e0640695
commit aa8ab7ae9e

@ -4,9 +4,11 @@
// directory defined in config.php won't be accessible // directory defined in config.php won't be accessible
define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-cli'); define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-cli');
define('SIMPLEPIE_CACHE_DIR', '/var/tmp/simplepie-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); define('DISABLE_SESSIONS', true);
error_reporting(DEFAULT_ERROR_LEVEL);
require_once "sanity_check.php"; require_once "sanity_check.php";
require_once "config.php"; require_once "config.php";
require_once "db.php"; require_once "db.php";

Loading…
Cancel
Save