]> git.wh0rd.org - tt-rss.git/blobdiff - functions.php
update_rss_feed: properly handle enginge changes when using memcached
[tt-rss.git] / 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)) {