mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
19 lines
431 B
PHP
19 lines
431 B
PHP
<?php
|
|
//streamer config
|
|
require_once '../videos/configuration.php';
|
|
AVideoPlugin::loadPlugin('YPTStorage');
|
|
if (!isCommandLineInterface()) {
|
|
//return die('Command Line only');
|
|
}
|
|
error_reporting(E_ALL);
|
|
ini_set('display_errors', '1');
|
|
|
|
$videos_id = getVideos_id();
|
|
|
|
if(empty($videos_id)){
|
|
die('No videos ID');
|
|
}
|
|
|
|
$resp = VideoStatistic::getLastStatistics(getVideos_id(), User::getId());
|
|
|
|
var_dump($resp);
|