1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2025-03-29 09:33:42 -03:00
parent a061cc830e
commit 23354ca473

View file

@ -6,7 +6,7 @@ $cacheFeedName = "feedCacheMRSS" . json_encode($_REQUEST);
$lifetime = 43200;
$feed = ObjectYPT::getCache($cacheFeedName, $lifetime);
$link = "{$link}/mrss";
if (empty($feed) || !empty($_REQUEST['recreate'])) {
if (empty($feed) || (!empty($_REQUEST['recreate']) && !isBot())) {
_ob_start();
echo'<?xml version="1.0" encoding="UTF-8"?>'; ?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"