Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

improvements to doc file

  • Loading branch information...
commit 502825366dc1ba1e5acc14c2e4d29079baef7cc1 1 parent 8639860
Kavith Thiranga Lokuhewage authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  libraries/joomla/media/compressor.php
2  libraries/joomla/media/compressor.php
View
@@ -319,7 +319,7 @@ public static function compressFile( $sourceFile, $options = array(), $destinat
}
// Sets force overwrite option
- $force = array_key_exists('overwrite', $options) && !empty($options['overwrite']) ? $options['overwrite'] : false;
+ $force = array_key_exists('OVERWRITE', $options) && !empty($options['OVERWRITE']) ? $options['OVERWRITE'] : false;
if (!file_exists($destination) || (file_exists($destination) && $force))
{
Please sign in to comment.
Something went wrong with that request. Please try again.