diff options
Diffstat (limited to 'studio/light/index.php')
-rw-r--r-- | studio/light/index.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/studio/light/index.php b/studio/light/index.php deleted file mode 100644 index 8f8ed8f..0000000 --- a/studio/light/index.php +++ /dev/null @@ -1,22 +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['dark'])) { - $_PROFILE["studio_settings"]["dark"] = true; - saveProfile(); -} - -if (isset($_GET['light'])) { - $_PROFILE["studio_settings"]["dark"] = false; - saveProfile(); -} - -header("Location: /studio"); -die();
\ No newline at end of file |