]> git.wh0rd.org Git - tt-rss.git/commitdiff
update_rss_feed: properly handle enginge changes when using memcached
authorAndrew Dolgov <fox@bah.org.ru>
Mon, 29 Mar 2010 07:26:39 +0000 (11:26 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Mon, 29 Mar 2010 07:26:39 +0000 (11:26 +0400)
functions.php

index bc520490316b142212e31003f3a4b30aea58f7f2..1133f925b49a12905eb163c00a8392fe4a00d6d7 100644 (file)
@@ -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';
 
                        error_reporting(0);
                }
 
-               $obj_id = md5("FDATA:$fetch_url");
+               $obj_id = md5("FDATA:$use_simplepie:$fetch_url");
 
                if ($memcache && $obj = $memcache->get($obj_id)) {