From 68a16e54194023b78ebfae2c9f5e6528767da8ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CVeLiTi=E2=80=9D?= <“info@veliti.nl”> Date: Thu, 30 Jan 2025 15:15:23 +0100 Subject: [PATCH] Add htaccess --- .DS_Store | Bin 10244 -> 10244 bytes .htaccess | 11 +++++++++++ index.php | 5 +++-- webhook.php | 2 +- webhook_paypal.php | 2 +- 5 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 .htaccess diff --git a/.DS_Store b/.DS_Store index 8d83a45f52cead73e83cd98767b5069001c146b0..d8565d203461b578ff4eb70e0e7c16bc0103934d 100644 GIT binary patch delta 124 zcmZn(XbG4g&d4*dP;8=}ZkaYeuEbJOaNNMOhfqfZFpI zN|MTp3zBm3lYknxO '/custom/pages/faq.php', '/privacy'=> '/custom/pages/privacy.php', '/privacy/{download}'=> '/custom/pages/privacy.php', - '/instructions-for-use' => '/custom/pages/faq.php' + '/instructions-for-use' => '/custom/pages/faq.php', + '/test' => 'test.php' ]); // Check if route exists if ($url) { diff --git a/webhook.php b/webhook.php index bcf9fce..828ddda 100644 --- a/webhook.php +++ b/webhook.php @@ -3,7 +3,7 @@ define('interface', true); // Include the configuration file, this contains settings you can change. -include 'config.php'; +include '/custom/settings/config.php'; // Include functions and connect to the database using PDO MySQL include 'functions.php'; // Connect to MySQL database diff --git a/webhook_paypal.php b/webhook_paypal.php index 94029c6..e9ea571 100644 --- a/webhook_paypal.php +++ b/webhook_paypal.php @@ -1,6 +1,6 @@