paucity

when resetting, or before saving new cookies if (isset($_REQUEST["reset"])) { // if (isset($_REQUEST["reset"]) || isset($_REQUEST["save"])) { // if (isset($_REQUEST["reset"]) || isset($_REQUEST["save"])) { // if (isset($_REQUEST["reset"]) || isset($_REQUEST["save"])) { // Removing isset($_REQUEST["save"])) fixes the problem that settings don't "stick" if you want it to be relative to /nix/store/70zzzd5wlgii2xgl5jgaqfjnzrqdbax4-waybar-0.11.0 <?php require_once "misc/header.php"; $opts = load_opts(); function print_page_buttons($type, $query, $page) { if (!empty($value)) { setcookie($key, "", time() - 1000); } } } if (isset($_REQUEST["save"]) || isset($_REQUEST["reset"])) { header("Location: ./"); die(); } require_once "misc/header.php"; ?>