Skip to content

Commit

Permalink
Fixed switch formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiebicknell committed Jul 2, 2014
1 parent 2f4649b commit 4d393d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions thumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
die('File is not an image');
}

$file_salt = 'v1.0.0';
$file_salt = 'v1.0.1';
$file_size = filesize($src);
$file_time = filemtime($src);
$file_date = gmdate('D, d M Y H:i:s T', $file_time);
Expand Down Expand Up @@ -126,7 +126,7 @@
if (isset($exif['Orientation'])) {
$degree = 0;
$mirror = false;
switch($exif['Orientation']) {
switch ($exif['Orientation']) {
case 2:
$mirror = true;
break;
Expand Down Expand Up @@ -219,7 +219,7 @@
$im = imagecreatetruecolor($w, $h);
$bg = imagecolorallocate($im, 255, 255, 255);
imagefill($im, 0, 0, $bg);
switch($type) {
switch ($type) {
case 1:
imagecopyresampled($im, $oi, $x, $y, 0, 0, $w1, $h1, $w0, $h0);
if ($sharpen && version_compare(PHP_VERSION, '5.1.0', '>=')) {
Expand Down

0 comments on commit 4d393d6

Please sign in to comment.