Fix incorrect xml file path in ZIP creation

phpcs-errors:0 phpunit-status:successful phpstan-errors:1
This commit is contained in:
2020-11-08 14:44:06 +01:00
committed by Stefan Rohde-Enslin
parent a8cb46848b
commit 65e09278dc
2 changed files with 4 additions and 3 deletions

View File

@ -39,7 +39,7 @@ while ($zeile = fgetcsv($fp, 100000, ';')) {
$y++;
$zieldatei = 'xml/' . $y . '.xml';
$zieldatei = __DIR__ . '/../xml/' . $y . '.xml';
if (!$handle = fopen($zieldatei, 'w')) {
echo "Cannot open file ($zieldatei)";exit;
}