mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
This commit is contained in:
parent
b84c226445
commit
968ba051b6
1 changed files with 213 additions and 213 deletions
|
@ -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 {
|
|||
}
|
||||
*
|
||||
*/
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue