This commit is contained in:
E. S. 2024-07-28 22:35:50 +03:00
parent b805aeda40
commit 8a71719c9c

View File

@ -2,8 +2,8 @@
require __DIR__.'/../init.php'; require __DIR__.'/../init.php';
$name = $_REQUEST['name'] ?? ''; $name = $_GET['name'] ?? '';
$theme = $_REQUEST['theme'] ?? ''; $theme = $_GET['theme'] ?? '';
if ($theme != 'light' && $theme != 'dark') { if ($theme != 'light' && $theme != 'dark') {
http_response_code(403); http_response_code(403);