mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
a061cc830e
commit
23354ca473
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ $cacheFeedName = "feedCacheMRSS" . json_encode($_REQUEST);
|
||||||
$lifetime = 43200;
|
$lifetime = 43200;
|
||||||
$feed = ObjectYPT::getCache($cacheFeedName, $lifetime);
|
$feed = ObjectYPT::getCache($cacheFeedName, $lifetime);
|
||||||
$link = "{$link}/mrss";
|
$link = "{$link}/mrss";
|
||||||
if (empty($feed) || !empty($_REQUEST['recreate'])) {
|
if (empty($feed) || (!empty($_REQUEST['recreate']) && !isBot())) {
|
||||||
_ob_start();
|
_ob_start();
|
||||||
echo'<?xml version="1.0" encoding="UTF-8"?>'; ?>
|
echo'<?xml version="1.0" encoding="UTF-8"?>'; ?>
|
||||||
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"
|
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue