diff options
Diffstat (limited to 'tools/processor.php')
-rw-r--r-- | tools/processor.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/processor.php b/tools/processor.php index 005396d..e38a8ef 100644 --- a/tools/processor.php +++ b/tools/processor.php @@ -8,7 +8,7 @@ if (empty($_GET['link'])){ $baselink = htmlspecialchars($_GET['link']); $urlexists = url_exists( $baselink ); -if ($urlexists == TRUE) { +if ($urlexists === TRUE) { // Regex - filter URL id is match[5] $rx = '/^((?:https?:)?\/\/)? # Optional protocol ((?:www|m)[.])? # Optional sub-domain @@ -74,16 +74,16 @@ $node0on = video_exists($node0); $node1on = video_exists($node1); // check nodes -if ($node0on == TRUE) { +if ( $node0on === TRUE ) { $breakurl = $node0; -} elseif ($node1on == TRUE) { +} elseif ( $node1on === TRUE ) { $breakurl = $node1; } else { $breakurl = $drmv; $formatdrm = 'video/webm'; } -if ($url_standar == FALSE) { +if ($url_standar === FALSE) { // Liberty data $breakquality = trim($streamFormats[0]->resolution, 'p'); $breaklink = <<<EOT |