mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 02:11:38 -04:00
Fixes a bug where storage transactions don't show up in searches if NULL.
1. Also adds a configuration for a directory to write/download csv files from. 2. Including directions for the above.
This commit is contained in:
@@ -39,10 +39,20 @@ define("TIMEZONE", "America/New_York");
|
||||
*/
|
||||
define("NONSHOP",0);
|
||||
|
||||
// How many transactions do you want shown
|
||||
// How many transactions do you want shown by default
|
||||
define("NUMBER_OF_TRANSACTIONS", 11);
|
||||
|
||||
|
||||
// Define csv directory (see directions below for creating it)
|
||||
define("CSV_DIRECTORY","csv");
|
||||
|
||||
// Make a directory to store csv accounting files. Currently used for GnuCash format.
|
||||
// Assuming the root of the website, and directory is called csv, and a Debian-based distribution:
|
||||
// mkdir csv
|
||||
// chown www-data:www-data csv
|
||||
// chmod 0700 csv
|
||||
|
||||
//constants
|
||||
// other constants
|
||||
define("PAGE_START_SHOP", "/start_shop.php");
|
||||
define("PAGE_SHOP_LOG", "/shop_log.php");
|
||||
define("PAGE_EDIT_CONTACT", "/contact_add_edit.php");
|
||||
|
||||
Reference in New Issue
Block a user