1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00
This commit is contained in:
daniel 2020-03-20 11:06:03 -03:00
parent b84c226445
commit 968ba051b6

View file

@ -69,7 +69,7 @@ class YouTubeAPI extends PluginAbstract {
} else {
$page = intval($_GET['page']);
}
$name = "YouTubeAPI-ListVideos-{$page}";
$name = "YouTubeAPI-ListVideos-{$page}-" . md5(@$_GET['search']);
$cache = ObjectYPT::getSessionCache($name, $youTubeObj->cacheTimeout);
if (empty($cache)) {
@ -151,6 +151,7 @@ class YouTubeAPI extends PluginAbstract {
return $cache;
}
}
/* Not ready yet
public function upload($videos_id) {
global $global;
@ -367,5 +368,4 @@ class YouTubeAPI extends PluginAbstract {
}
*
*/
}