Fix incorrect xml file path in ZIP creation
phpcs-errors:0 phpunit-status:successful phpstan-errors:1
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user