mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 02:11:38 -04:00
Returns directory and filename for GnuCash csv
This commit is contained in:
@@ -232,7 +232,8 @@ $csv_directory = CSV_DIRECTORY;
|
||||
$csv_file = fopen($file, "w") or die("Unable to open file for writing.");
|
||||
fwrite($csv_file, $gnucash_csv_file);
|
||||
fclose($csv_file);
|
||||
|
||||
|
||||
echo $file;
|
||||
// download file to browser
|
||||
/*
|
||||
header('Content-Description: File Transfer');
|
||||
@@ -270,6 +271,8 @@ $csv_directory = CSV_DIRECTORY;
|
||||
$csv_file = fopen($file, "w") or die("Unable to open file for writing.");
|
||||
fwrite($csv_file, $gnucash_csv_file);
|
||||
fclose($csv_file);
|
||||
|
||||
echo $file;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user