Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Mar 20, 2024
1 parent fd46d50 commit 96a24e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugin/AVideoPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@

class AVideoPlugin
{
static $uid;
public static function YPTstart($uid = '')
{
global $global;
self::$uid;
$time = microtime();
$time = explode(' ', $time);
$time = $time[1] + $time[0];
Expand All @@ -15,6 +17,9 @@ public static function YPTstart($uid = '')
public static function YPTend($pluginName, $timeLimit = 0, $uid = '')
{
global $global;
if(empty($uid)){
$uid = self::$uid;
}
require_once $global['systemRootPath'] . 'objects/user.php';
$time = microtime();
$time = explode(' ', $time);
Expand Down

0 comments on commit 96a24e8

Please sign in to comment.