@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | |
261 | 261 | if ($media_filesystem->fileExists($media_file)) { |
262 | 262 | |
263 | - if ($php_zip === TRUE) { |
|
263 | + if ($php_zip === true) { |
|
264 | 264 | $zip->addFile(Site::getPreference('INDEX_DIRECTORY') . $tree->getPreference('MEDIA_DIRECTORY') . $media_file, $media_path . $media_file); |
265 | 265 | } |
266 | 266 | else { |
@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | } |
287 | 287 | |
288 | 288 | // In case we were using PHP ZipArchive |
289 | - if ($zip_filesystem !== null && $php_zip === TRUE) { |
|
289 | + if ($zip_filesystem !== null && $php_zip === true) { |
|
290 | 290 | $zip->close(); |
291 | 291 | } |
292 | 292 |