Merge pull request #2961 from pblasquez/pblasquez-application_json_patch

Missed one file for application/json headers
This commit is contained in:
Neil Lathwood
2016-02-10 21:27:52 +00:00
+1
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: text/plain');
echo $_SESSION['screen_width'];
echo $_SESSION['screen_height'];