Replaces some hardwired variables with user-defined constants.

This commit is contained in:
Jonathan Rosenbaum
2014-12-27 07:59:59 +00:00
parent 2274b69a8e
commit d2332719a0
4 changed files with 27 additions and 10 deletions
+6
View File
@@ -1,5 +1,11 @@
<?php
require_once('YBDB.php');
// User defined constants - read populate.sql for directions
define("STORAGE_PERIOD", 14);
define("ACCOUNTING_GROUP", "Sales");
define("DEFAULT_TRANSACTION_TYPE", "Sale - Used Parts");
define("DEFAULT_SHOP_USER", "Volunteer");
//constants
define("PAGE_START_SHOP", "/start_shop.php");