1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 12:00:06 +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 { } else {
$page = intval($_GET['page']); $page = intval($_GET['page']);
} }
$name = "YouTubeAPI-ListVideos-{$page}"; $name = "YouTubeAPI-ListVideos-{$page}-" . md5(@$_GET['search']);
$cache = ObjectYPT::getSessionCache($name, $youTubeObj->cacheTimeout); $cache = ObjectYPT::getSessionCache($name, $youTubeObj->cacheTimeout);
if (empty($cache)) { if (empty($cache)) {
@ -151,6 +151,7 @@ class YouTubeAPI extends PluginAbstract {
return $cache; return $cache;
} }
} }
/* Not ready yet /* Not ready yet
public function upload($videos_id) { public function upload($videos_id) {
global $global; global $global;
@ -367,5 +368,4 @@ class YouTubeAPI extends PluginAbstract {
} }
* *
*/ */
} }