Update ajax_setresolution.php

This commit is contained in:
pblasquez
2016-02-08 16:29:53 -08:00
parent e8f773b010
commit 2a98a2825f

View File

@@ -4,5 +4,6 @@ if(isset($_REQUEST['width']) AND isset($_REQUEST['height'])) {
$_SESSION['screen_width'] = $_REQUEST['width'];
$_SESSION['screen_height'] = $_REQUEST['height'];
}
header('Content-type: application/json');
echo $_SESSION['screen_width'];
echo $_SESSION['screen_height'];