diff options
author | Minteck <contact@minteck.org> | 2023-02-11 11:49:59 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2023-02-11 11:49:59 +0100 |
commit | 35d622ad561c7f693c396020820f3d8cfdb71a88 (patch) | |
tree | 03e60ce72761fd3648702a0d26eb6355e68cbc38 /api/raindrops-img-round.php | |
parent | 885a05be06d0b42835652208c729e5fded451c26 (diff) | |
download | pluralconnect-35d622ad561c7f693c396020820f3d8cfdb71a88.tar.gz pluralconnect-35d622ad561c7f693c396020820f3d8cfdb71a88.tar.bz2 pluralconnect-35d622ad561c7f693c396020820f3d8cfdb71a88.zip |
Updated 6 files and added .idea/sshConfigs.xml (automated)
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) { |