From 5695fe8b07a07ae215723cf80a3a6463ade7cf92 Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Wed, 11 Oct 2017 05:38:57 +0000 Subject: [PATCH] This resolves the issue with user defined arrays (local_configurations) not carrying over. * include works, too, and in this paticular code would not provide a disadvantage --- Connections/database_functions.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Connections/database_functions.php b/Connections/database_functions.php index 487223f..6db8d7b 100644 --- a/Connections/database_functions.php +++ b/Connections/database_functions.php @@ -104,6 +104,13 @@ $transactions_with_membership_benefits = array( "Stand Time" => true, "Cargo Related" => true, "Car Racks" => true ); + +/********* +BANNED IDS +**********/ + +// Ban those pesky individuals who continually refuse to follow policies and safer space agreements by contact_id +$banned_individuals = array(); /******* CONTACTS @@ -263,7 +270,7 @@ define('SHOW_SHOP_ID',0); if(file_exists( realpath($_SERVER["DOCUMENT_ROOT"]) . "/Connections/local_configurations.php")) { - require_once('local_configurations.php'); + require('local_configurations.php'); } // other constants