mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-22 08:53:23 -05:00
You can now use local_configuations.php for configuration.
This commit is contained in:
parent
ce921e8169
commit
2c78a54486
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once('YBDB.php');
|
require_once('YBDB.php');
|
||||||
|
|
||||||
|
// DO NOT EDIT - USE Connections/local_configurations instead
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Choose your timezone from http://php.net/manual/en/timezones.php
|
Choose your timezone from http://php.net/manual/en/timezones.php
|
||||||
@ -186,6 +187,13 @@ $gnucash_accounts = array( "Assets:Current Assets:Checking Account" => "checking
|
|||||||
// Normally, you will want this set at 0.
|
// Normally, you will want this set at 0.
|
||||||
define('SHOW_SHOP_ID',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
|
// other constants
|
||||||
define("PAGE_START_SHOP", "/start_shop.php");
|
define("PAGE_START_SHOP", "/start_shop.php");
|
||||||
define("PAGE_SHOP_LOG", "/shop_log.php");
|
define("PAGE_SHOP_LOG", "/shop_log.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){
|
function sign_out($time_out, $first_name){
|
||||||
if($time_out == "0000-00-00 00:00:00"){
|
if($time_out == "0000-00-00 00:00:00"){
|
||||||
echo '<input type="submit" name="submit" value="Sign Out: ' . $first_name . '" />';
|
echo '<input type="submit" name="submit" class="sign_out" value="Sign Out: ' . $first_name . '" />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user