From 02eda3e4c9b4ba718f1fff70b7328ed8cdd5e63b Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sun, 2 Apr 2023 23:03:02 +0200 Subject: Updated 35 files, added 11 files and deleted includes/components/search.inc (automated) --- includes/jobs/PKSystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/jobs/PKSystem.php') diff --git a/includes/jobs/PKSystem.php b/includes/jobs/PKSystem.php index c3fce1b..045eb67 100644 --- a/includes/jobs/PKSystem.php +++ b/includes/jobs/PKSystem.php @@ -27,5 +27,5 @@ if ($app["other"]["id"] === $system) { $data = file_get_contents("https://pluralkit.equestria.dev/v2/systems/$system", false, $ctx); if (trim($data) !== "" && $data !== false) { - file_put_contents("./data/$system/general.json", $data); + file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/$system/general.json", $data); } \ No newline at end of file -- cgit