diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 23 |
1 files changed, 5 insertions, 18 deletions
@@ -1,6 +1,9 @@ <?php require_once('smarty/Smarty.class.php'); +define('ROOT_PATH', preg_replace('/index.php/', '', $_SERVER["DOCUMENT_ROOT"].$_SERVER["DOCUMENT_URI"])); +define('TOOLS_PATH', ROOT_PATH.'tools/'); + $titulo="YTLibre"; $version="1.1.5"; /* ---- ---- ---- Generated ---- ---- ---- ---- */ @@ -28,34 +31,18 @@ else $video_decode->assign("videoTitle", $videoTitle); $video_decode->assign("videoThumbURL", $videoThumbURL); $video_decode->assign("videoAuthor", $videoAuthor); - $video_decode->assign("videoChannel", $videoChannel); $video_decode->assign("videoDuration", $videoDuration); $video_decode->assign("videoViews", $videoViews); - $video_decode->assign("librethumb", $librethumb); - - // Downloads - $video_decode->assign("downloads", $downloads); // Videos Loop $video_decode->assign("streamFormats", $streamFormats); - // URL DRM - $video_decode->assign("breakurl", $breakurl); + // Live $video_decode->assign("islive", $islive); - // Download DRM - $video_decode->assign("downloadbreak", $downloadbreak); - $video_decode->assign("downloadQuality", $downloadQuality); - $video_decode->assign("downloadFormat", $downloadFormat); - - // Video DRM - $video_decode->assign("breaklink", $breaklink); - $video_decode->assign("breakquality", $breakquality); - $video_decode->assign("formatdrm", $formatdrm); - // URL's $video_decode->assign("local_url", $local_url); - $video_decode->assign("url_freedom", $url_freedom); + $video_decode->assign("url_query", $url_query); /* ---- ---- CSS ---- ---- */ $video_decode->assign('styles', array('frond' => 'templates/css/frond.min.css', |