diff options
Diffstat (limited to 'studio/profile/index.php')
-rw-r--r-- | studio/profile/index.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/studio/profile/index.php b/studio/profile/index.php deleted file mode 100644 index f2f72bc..0000000 --- a/studio/profile/index.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; -if (!isset($_PROFILE["ultra"]) || !$_PROFILE["ultra"]) { - header("Location: /"); - die(); -} - -$palettes = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/themes.json"), true); - -if (isset($_GET['value']) && isset($_GET['id']) && isset($_PROFILE["studio_settings"]["profile"][$_GET["id"]]) && is_bool($_PROFILE["studio_settings"]["profile"][$_GET["id"]])) { - $_PROFILE["studio_settings"]["profile"][$_GET["id"]] = (bool)$_GET["value"]; - saveProfile(); -} - -header("Location: /studio"); -die();
\ No newline at end of file |