diff options
author | Squibid <me@zacharyscheiman.com> | 2023-10-09 09:03:06 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-10-09 09:03:06 -0400 |
commit | 90c0f3e92db08ac780cbc48ac5eca570ee9350ce (patch) | |
tree | 81cd7bbf714be4ea0a070cbe6aacef62358e46f0 /view.php | |
parent | 5c80111da6c30bf8daca6bd7e880b29d7b33f8ba (diff) | |
download | wallheaven-90c0f3e92db08ac780cbc48ac5eca570ee9350ce.tar.gz wallheaven-90c0f3e92db08ac780cbc48ac5eca570ee9350ce.tar.bz2 wallheaven-90c0f3e92db08ac780cbc48ac5eca570ee9350ce.zip |
remove old apikey checker
Diffstat (limited to 'view.php')
-rw-r--r-- | view.php | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -22,10 +22,6 @@ printf("<meta property='twitter:card' content='summary_large_image'>"); /* get wallpaper id and get info from api */ preg_match("/(?!.*-)([A-Za-z0-9]+)/", $_POST['wall'], $matches); - if ($_POST['purity'] === "nsfw") - $apikey = $config["frontends"]["wallhaven"]["apikey"]; - else - $apikey = ""; $res = getwallpaper("https://wallhaven.cc/api/v1/w/$matches[0]?apikey=$apikey"); ?> <div id='wallmaster'> |