diff options
Diffstat (limited to 'api/raindrops-img-round.php')
-rw-r--r-- | api/raindrops-img-round.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |