Skip to content

Commit

Permalink
Update AppController.php
Browse files Browse the repository at this point in the history
changed sql and csv path
  • Loading branch information
DDemmer1 authored Dec 14, 2022
1 parent 83e883e commit 895a399
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Controller/AppController.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ public function export()
if(empty($format)) return;

// sql and csv paths relative to webroot
$csvFilePath = ".../webroot/download/Adressbuch_1854_all.csv";
$sqlFilePath = '.../webroot/download/Adressbuch_1854_all.sql';
$csvFilePath = 'download/Adressbuch_1854_all.csv';
$sqlFilePath = 'download/Adressbuch_1854_all.sql';

// Get the format, that is to be rendered, from the query params
$format = strtolower($this->request->getQuery('exportAll'));
Expand Down

0 comments on commit 895a399

Please sign in to comment.