From 027527cef3a4546d4c289b51858fb2f4bdb6870f Mon Sep 17 00:00:00 2001
From: lietuvis10 <50807912+lietuvis10@users.noreply.github.com>
Date: Mon, 27 Oct 2025 17:19:02 +0200
Subject: [PATCH] Update wdata.tpl
Last change to automate Crop finder automation.
---
install/templates/wdata.tpl | 179 +++++++++++++++++++++++++++---------
1 file changed, 135 insertions(+), 44 deletions(-)
diff --git a/install/templates/wdata.tpl b/install/templates/wdata.tpl
index 514aae08..83329e47 100644
--- a/install/templates/wdata.tpl
+++ b/install/templates/wdata.tpl
@@ -1,54 +1,145 @@
Error creating wdata. Check configuration or file.
";
+if (isset($_GET['c']) && $_GET['c'] == '1') {
+ echo '
Error creating wdata. Check configuration or file.
';
+}
+if (isset($_GET['err']) && $_GET['err'] == '1') {
+ echo '
Existing World Data found in the database! Please empty tables '
+ . TB_PREFIX . 'odata, ' . TB_PREFIX . 'units, ' . TB_PREFIX . 'vdata, ' . TB_PREFIX . 'wdata before continuing.
';
}
-if(isset($_GET['err']) && $_GET['err'] == 1) {
-echo "
Existing World Data found in the database! Please empty tables ".TB_PREFIX."odata, ".TB_PREFIX."units, ".TB_PREFIX."vdata, ".TB_PREFIX."wdata before continuing.
";
-}
+$autoStartCroppers = isset($_GET['startCroppers']) && $_GET['startCroppers'] === '1';
?>
+