Skip to content

Commit

Permalink
Updating screen orientation.
Browse files Browse the repository at this point in the history
Switching to 0, not 1.

Signed-off-by: thebestsophist <bernardy@enguin.com>
  • Loading branch information
thebestsophist committed Mar 13, 2012
1 parent 117e471 commit 0b89b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension.driver.php
Expand Up @@ -47,7 +47,7 @@ public function addParam($context) {
$context['params']['screen-width'] = $screen_width;
$pixel_density = !empty($_COOKIE['pixel-density']) ? $_COOKIE['pixel-density'] : 1;
$context['params']['pixel-density'] = $pixel_density;
$screen_orientation = !empty($_COOKIE['screen-orientation']) ? $_COOKIE['screen-orientation'] : 1;
$screen_orientation = !empty($_COOKIE['screen-orientation']) ? $_COOKIE['screen-orientation'] : 0;
$context['params']['screen-orientation'] = $screen_orientation;
}
}
Expand Down

0 comments on commit 0b89b50

Please sign in to comment.