Compare commits

...

1 Commits

Author SHA1 Message Date
zzdrojewskipaw
c3c3eed46e zmiana uprawnień do pliku CSV rw-rw-r-- 2025-08-26 21:03:40 +02:00

View File

@@ -576,5 +576,6 @@ function exportToCSVFile($res, $fullpath, array $headers = null, $delimiter = ';
}
fclose($fp);
return ['ok'=>true, 'path'=>$fullpath, 'rows'=>$count, 'error'=>null];
$chmod_ok = @chmod($fullpath, 0664);
return ['ok'=>true, 'path'=>$fullpath, 'rows'=>$count, 'chmod'=>$chmod_ok, 'error'=>null];
}