Overview
Comment: | Remove comment |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b23bd06ee280ff32a048a357e6aa205a |
User & Date: | bohwaz on 2022-07-18 22:33:02 |
Other Links: | manifest | tags |
Context
2022-07-18
| ||
22:34 | Add comment and change to exists method to be clear check-in: 4cc12f72b9 user: bohwaz tags: trunk | |
22:33 | Remove comment check-in: b23bd06ee2 user: bohwaz tags: trunk | |
2022-07-13
| ||
20:40 | Fix undefined source_path when indexing check-in: 005785c4da user: bohwaz tags: trunk, stable | |
Changes
Modified src/include/lib/Garradin/CSV.php from [dc24caf412] to [1819d97da7].
︙ | ︙ | |||
70 71 72 73 74 75 76 | else { throw new \LogicException(sprintf('Conversion tool "%s" is not supported', $tool)); } $cmd = sprintf($cmd, escapeshellarg($from), escapeshellarg($to)); $cmd .= ' 2>&1'; $return = shell_exec($cmd); | < | 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | else { throw new \LogicException(sprintf('Conversion tool "%s" is not supported', $tool)); } $cmd = sprintf($cmd, escapeshellarg($from), escapeshellarg($to)); $cmd .= ' 2>&1'; $return = shell_exec($cmd); if (!file_exists($to)) { throw new UserException('Impossible de convertir le fichier. Vérifier que le fichier est un format supporté.'); } return $to; } |
︙ | ︙ |