Overview
Comment: | Only clean output buffer if it has been started |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev | 1.0.0-beta7 |
Files: | files | file ages | folders |
SHA1: |
280a2490eb1581b78a2005c4a5c2ca42 |
User & Date: | bohwaz on 2020-11-24 16:41:52 |
Other Links: | branch diff | manifest | tags |
Context
2020-11-24
| ||
18:19 | Fix bug with from URL check-in: f29afbeb0d user: bohwaz tags: dev | |
16:51 | Create new branch named "templates" check-in: 14934ddd03 user: bohwaz tags: templates | |
16:41 | Only clean output buffer if it has been started check-in: 280a2490eb user: bohwaz tags: dev, 1.0.0-beta7 | |
2020-11-23
| ||
10:33 | Change indentation to tabs check-in: c7e6b25d2b user: bohwaz tags: dev | |
Changes
Modified src/include/lib/Garradin/Fichiers.php from [c9b8b56a70] to [245dbef1e2].
︙ | ︙ | |||
415 416 417 418 419 420 421 | @ini_set('zlib.output_compression', 'Off'); if ($size) { header('Content-Length: '. (int)$size); } | > | > > | 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 | @ini_set('zlib.output_compression', 'Off'); if ($size) { header('Content-Length: '. (int)$size); } if (@ob_get_length()) { @ob_clean(); } flush(); // Sinon on envoie le fichier à la mano return readfile($path); } /** |
︙ | ︙ |