From 2c78a5448636c4f8ef8ad36ae020ac7da0781c2b Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Sat, 15 Jul 2017 19:12:20 +0000 Subject: [PATCH] You can now use local_configuations.php for configuration. --- Connections/database_functions.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Connections/database_functions.php b/Connections/database_functions.php index 2097c7f..48d3a56 100644 --- a/Connections/database_functions.php +++ b/Connections/database_functions.php @@ -1,6 +1,7 @@ "checking // // Normally, you will want this set at 0. define('SHOW_SHOP_ID',0); + +// END OF USER DEFINED CONFIGURATIONS + + +if(file_exists( realpath($_SERVER["DOCUMENT_ROOT"]) . "/Connections/local_configurations.php")) { + require_once('local_configurations.php'); +} // other constants define("PAGE_START_SHOP", "/start_shop.php"); @@ -480,7 +488,7 @@ function list_time($time_list_start, $time, $form_name = "none", $start_offset_m function sign_out($time_out, $first_name){ if($time_out == "0000-00-00 00:00:00"){ - echo ''; + echo ''; } }