@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | $thumbs_height = $thumbs_size['height']; |
| 98 | 98 | |
| 99 | 99 | // Create thumbs dir |
| 100 | - if (! is_dir($thumbs_dir)) { |
|
| 100 | + if (!is_dir($thumbs_dir)) { |
|
| 101 | 101 | mkdir($thumbs_dir); |
| 102 | 102 | } |
| 103 | 103 | |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | foreach ($image_files as $index=>$file) { |
| 108 | 108 | $index++; |
| 109 | 109 | $thumbnail_image = $thumbs_dir.$file; |
| 110 | - if (! file_exists($thumbnail_image)) { |
|
| 110 | + if (!file_exists($thumbnail_image)) { |
|
| 111 | 111 | $extension = $this->get_file_extension($thumbnail_image); |
| 112 | 112 | if ($extension) { |
| 113 | 113 | //echo $images_dir." ".$file." ".$thumbnail_image." ".$thumbs_width; |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | **/ |
| 130 | 130 | public function createImagesArray($image_files, $image_data, $gallery_url) |
| 131 | 131 | { |
| 132 | - sort($image_files); // Order by image name |
|
| 132 | + sort($image_files); // Order by image name |
|
| 133 | 133 | |
| 134 | 134 | $ret = []; |
| 135 | 135 | |
@@ -275,7 +275,7 @@ discard block |
||
| 275 | 275 | $image_files = $this->getImageFiles($parameters['images_dir']); |
| 276 | 276 | //sort($image_files,SORT_STRING); |
| 277 | 277 | |
| 278 | - if (! empty($image_files)) { |
|
| 278 | + if (!empty($image_files)) { |
|
| 279 | 279 | // Get images data from excel |
| 280 | 280 | //$image_data = $this->getImgDataFromExcel($parameters['images_dir']); |
| 281 | 281 | $image_data = null; |