when I save settings I get "Undefined variable: '$name' in /var/www/html/settings.php on line 26" message I think that the correct variable name shall be $key
@@ -23,7 +23,7 @@
if (!empty($value))
{
setcookie($key, $value, time() + (86400 * 90), '/');
- $_COOKIE[$name] = $value;
+ $_COOKIE[$key] = $value;
}