From 35d622ad561c7f693c396020820f3d8cfdb71a88 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 11 Feb 2023 11:49:59 +0100 Subject: Updated 6 files and added .idea/sshConfigs.xml (automated) --- api/raindrops-img-round.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api') diff --git a/api/raindrops-img-round.php b/api/raindrops-img-round.php index af4acbe..f733cc8 100644 --- a/api/raindrops-img-round.php +++ b/api/raindrops-img-round.php @@ -2,7 +2,7 @@ $fronters = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/gdapd/fronters.json"), true); -$url = isset($fronters['members'][0]) ? ($fronters['members'][0]["avatar_url"] ?? "https://static.equestria.horse/ponies/uploads/raindrops.png") : "https://static.equestria.horse/ponies/uploads/raindrops.png"; +$url = isset($fronters['members'][0]) ? ($fronters['members'][0]["avatar_url"] ?? "/assets/uploads/raindrops.png") : "/assets/uploads/raindrops.png"; file_put_contents("/tmp/temp", file_get_contents($url)); function imageCreateCorners($sourceImageFile, $radius) { -- cgit