summaryrefslogtreecommitdiff
path: root/pages/api/raindrops-img.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/api/raindrops-img.php')
-rw-r--r--pages/api/raindrops-img.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/api/raindrops-img.php b/pages/api/raindrops-img.php
index 4cbac6b..fcf1ae6 100644
--- a/pages/api/raindrops-img.php
+++ b/pages/api/raindrops-img.php
@@ -1,6 +1,6 @@
<?php
-require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.inc";
+require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/functions.inc";
$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"] ? $_SERVER['DOCUMENT_ROOT'] . getAsset("gdapd", $fronters['members'][0]["id"]) : $_SERVER['DOCUMENT_ROOT'] . "/uploads/raindrops.png") : $_SERVER['DOCUMENT_ROOT'] . "/uploads/raindrops.png";