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) --- .idea/deployment.xml | 9 ++++++++- .idea/sshConfigs.xml | 8 ++++++++ .idea/webServers.xml | 7 +++++++ api/raindrops-img-round.php | 2 +- includes/exchange.txt | 2 +- includes/header.inc | 2 +- includes/titlebar.inc | 4 ++-- 7 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 .idea/sshConfigs.xml diff --git a/.idea/deployment.xml b/.idea/deployment.xml index c2f202c..d88f01f 100644 --- a/.idea/deployment.xml +++ b/.idea/deployment.xml @@ -1,6 +1,6 @@ - + @@ -9,6 +9,13 @@ + + + + + + + diff --git a/.idea/sshConfigs.xml b/.idea/sshConfigs.xml new file mode 100644 index 0000000..885b30b --- /dev/null +++ b/.idea/sshConfigs.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/webServers.xml b/.idea/webServers.xml index e2155f0..5455464 100644 --- a/.idea/webServers.xml +++ b/.idea/webServers.xml @@ -9,6 +9,13 @@ + + + + + + + \ No newline at end of file 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) { diff --git a/includes/exchange.txt b/includes/exchange.txt index 79156ae..07cccdc 100644 --- a/includes/exchange.txt +++ b/includes/exchange.txt @@ -1 +1 @@ -0.88 \ No newline at end of file +0.89 \ No newline at end of file diff --git a/includes/header.inc b/includes/header.inc index ede6a29..4261f1c 100644 --- a/includes/header.inc +++ b/includes/header.inc @@ -2,7 +2,7 @@ $useNewUI = !isset($_GET['old']); $readOnly = false; -@file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/.test", "hello"); +file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/.test", "hello"); if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/.test")) { unlink($_SERVER['DOCUMENT_ROOT'] . "/includes/data/.test"); diff --git a/includes/titlebar.inc b/includes/titlebar.inc index b0c1e8b..c49f7b2 100644 --- a/includes/titlebar.inc +++ b/includes/titlebar.inc @@ -380,7 +380,7 @@ $links = [ "type" => "js", "text" => "document.getElementById('planner-add-link-cloudburst-0').click()" ], - "icon" => "https://static.equestria.horse/ponies/icons/add-cloudburst.svg", + "icon" => "/assets/icons/add-cloudburst.svg", "invert" => false ], [ @@ -389,7 +389,7 @@ $links = [ "type" => "js", "text" => "document.getElementById('planner-add-link-raindrops-0').click()" ], - "icon" => "https://static.equestria.horse/ponies/icons/add-raindrops.svg", + "icon" => "/assets/icons/add-raindrops.svg", "invert" => false ] ], -- cgit