summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-04-14 22:48:12 +0200
committerRaindropsSys <contact@minteck.org>2023-04-14 22:48:12 +0200
commitde2b9bf6580917e60aabc4981a42947b6cb95503 (patch)
treeb65fc89c69c31ec5ef1385a51543f0d7e917b9bb /pages
parenteb7405f92bd01ab59a056ff5df6d2f1d6b30f0ce (diff)
downloadpluralconnect-de2b9bf6580917e60aabc4981a42947b6cb95503.tar.gz
pluralconnect-de2b9bf6580917e60aabc4981a42947b6cb95503.tar.bz2
pluralconnect-de2b9bf6580917e60aabc4981a42947b6cb95503.zip
Updated 2 files (automated)
Diffstat (limited to 'pages')
-rw-r--r--pages/api/design.php6
-rw-r--r--pages/money.inc4
2 files changed, 7 insertions, 3 deletions
diff --git a/pages/api/design.php b/pages/api/design.php
index 512677d..1894a75 100644
--- a/pages/api/design.php
+++ b/pages/api/design.php
@@ -51,4 +51,8 @@ switch ($_GET["type"]) {
die("Invalid type");
}
-file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/designs/" . $_GET["member"] . ".json", json_encode($designs)); \ No newline at end of file
+file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/designs/" . $_GET["member"] . ".json", json_encode($designs));
+
+while (trim(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/designs/" . $_GET["member"] . ".json")) === "") {
+ file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/designs/" . $_GET["member"] . ".json", json_encode($designs));
+} \ No newline at end of file
diff --git a/pages/money.inc b/pages/money.inc
index cf07063..f4ab9fa 100644
--- a/pages/money.inc
+++ b/pages/money.inc
@@ -1,7 +1,7 @@
<?php
-$minimumRaindrops = 200;
-$minimumCloudburst = 2871.32;
+$minimumRaindrops = 300;
+$minimumCloudburst = 2832.32;
require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.inc"; global $title; global $isLoggedIn; global $lang; global $pages; global $_PROFILE;
$parts = explode("/", $_GET["_"]);