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:
Jonathan Rosenbaum
2015-01-13 05:56:03 +00:00
parent bf2527e1cf
commit e168381a05
3 changed files with 21 additions and 3 deletions
+12 -2
View File
@@ -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");