diff options
| author | spiderr <spiderr@bitweaver.org> | 2021-02-13 18:34:40 -0500 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2021-02-13 18:34:40 -0500 |
| commit | e77d6bab794b752f917bc77b066cc87ea5800790 (patch) | |
| tree | 152eb343104b981c343fc248c6bca22c4f48fff5 | |
| parent | f9eb4709c12a609cef7359e1f5005e5e16945969 (diff) | |
| download | liberty-e77d6bab794b752f917bc77b066cc87ea5800790.tar.gz liberty-e77d6bab794b752f917bc77b066cc87ea5800790.tar.bz2 liberty-e77d6bab794b752f917bc77b066cc87ea5800790.zip | |
clearstatcache on imagick resize
| -rw-r--r-- | plugins/processor.imagick.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/processor.imagick.php b/plugins/processor.imagick.php index e45b7aa..76c9b6d 100644 --- a/plugins/processor.imagick.php +++ b/plugins/processor.imagick.php @@ -36,6 +36,7 @@ function liberty_imagick_resize_image( &$pFileHash ) { global $gBitSystem; $pFileHash['error'] = NULL; $ret = NULL; + clearstatcache( true, $pFileHash['source_file'] ); if( !empty( $pFileHash['source_file'] ) && file_exists( $pFileHash['source_file'] ) && is_file( $pFileHash['source_file'] ) && (filesize( $pFileHash['source_file'] ) > 0) ) { try { $im = new Imagick(); |
