commit a8b2b023fce0ec7e789f838579523c92fc60beba
parent 95d3f193ebd8be2728a2a05ebd6d5cde236eb3cd
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Mon, 21 Oct 2024 23:05:21 +0200
fix: clearify arguments comment
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/index.php b/index.php
@@ -44,8 +44,9 @@
/* Initilise videos array */
$videos = array();
- // Fetch POST argument or the COOKIE
+ // Fetch POST, GET arguments or the COOKIE
// Cookie should have lowest priority (fallback), POST first (intend)
+ // GET arguments are used for one-time usage (will not set cookie)
if (!is_null($_COOKIE["channels"])) {
$channels = explode(",", $_COOKIE["channels"]);
}