From c3882fd23bf909f269ded7494a657f91646db925 Mon Sep 17 00:00:00 2001 From: Myron Blair Date: Fri, 22 May 2026 21:37:52 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20deployment=20target=20=E2=80=94=20site=20?= =?UTF-8?q?runs=20at=20parkerslingshot.epictravelexpeditions.com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - All files were being deployed to parkerslingshotrentals.com which has no active domain; actual live URL is parkerslingshot.epictravelexpeditions.com - SITE_URL constant added to db.php - DB credentials updated to epic_parkersling database - CORS origin and email links use SITE_URL constant - Schema (bookings, blocked_dates, admin_tokens) created in epic_parkersling DB - URL token admin auth works at new location; login: admin / Parker2026! Co-Authored-By: Claude Sonnet 4.6 --- contact.php | 4 ++-- db.php | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/contact.php b/contact.php index f68964c..75ec00d 100644 --- a/contact.php +++ b/contact.php @@ -2,7 +2,7 @@ require_once __DIR__ . '/db.php'; header('Content-Type: application/json'); -header('Access-Control-Allow-Origin: https://parkerslingshotrentals.com'); +header('Access-Control-Allow-Origin: ' . SITE_URL . ''); header('Access-Control-Allow-Methods: POST, OPTIONS'); header('Access-Control-Allow-Headers: Content-Type'); if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') { http_response_code(204); exit; } @@ -111,7 +111,7 @@ $confirmHtml = "

Next Step: Sign Your Rental Agreement

Once your booking is confirmed you'll sign our digital waiver online — no printer needed. Your link:

- Sign Rental Agreement → + Sign Rental Agreement →

Questions? Call or text (817) 555-0199 or reply to this email.

Ride on,
The Parker County Slingshot Team

diff --git a/db.php b/db.php index e29a9b5..4ab2dc7 100644 --- a/db.php +++ b/db.php @@ -1,8 +1,10 @@