Permalink
Browse files

improvements to doc file

  • Loading branch information...
1 parent 8639860 commit 502825366dc1ba1e5acc14c2e4d29079baef7cc1 @kaviththiranga committed Dec 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/joomla/media/compressor.php
View
2 libraries/joomla/media/compressor.php
@@ -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))
{

0 comments on commit 5028253

Please sign in to comment.