diff options
author | Andrew Dolgov <[email protected]> | 2010-03-29 11:26:39 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-03-29 11:26:39 +0400 |
commit | e656b9f7db2e96e421387cf1c55719365b3d90af (patch) | |
tree | e72a50de902ee6e613a923c9cef4bcd76eaa2c1b | |
parent | ed41f171cb003dd21411a6de5408b79752f3549f (diff) |
update_rss_feed: properly handle enginge changes when using memcached
-rw-r--r-- | functions.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/functions.php b/functions.php index bc5204903..1133f925b 100644 --- a/functions.php +++ b/functions.php @@ -1,10 +1,8 @@ <?php -/* if ($_REQUEST["debug"]) { + if ($_REQUEST["debug"]) { define('DEFAULT_ERROR_LEVEL', E_ALL); - } else { - define('DEFAULT_ERROR_LEVEL', E_ERROR | E_WARNING | E_PARSE); - } */ + } require_once 'config.php'; @@ -620,7 +618,7 @@ error_reporting(0); } - $obj_id = md5("FDATA:$fetch_url"); + $obj_id = md5("FDATA:$use_simplepie:$fetch_url"); if ($memcache && $obj = $memcache->get($obj_id)) { |