From 3d18b06bc3962efccceebc1b0807655f284b0406 Mon Sep 17 00:00:00 2001 From: Divarion-D Date: Wed, 14 Jan 2026 20:57:50 +0300 Subject: [PATCH] Fixed condition --- src/www/playlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/playlist.php b/src/www/playlist.php index 260d87c..f49b6c1 100644 --- a/src/www/playlist.php +++ b/src/www/playlist.php @@ -6,7 +6,7 @@ set_time_limit(0); header('Access-Control-Allow-Origin: *'); $rDeny = true; -if (strtolower(explode('.', ltrim(parse_url($_SERVER['REQUEST_URI'])['path'], '/'))[0]) == 'get' || !CoreUtilities::$rSettings['legacy_get']) { +if (strtolower(explode('.', ltrim(parse_url($_SERVER['REQUEST_URI'])['path'], '/'))[0]) == 'get' && !CoreUtilities::$rSettings['legacy_get']) { $rDeny = false; generateError('LEGACY_GET_DISABLED'); }