mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update ajax_setresolution.php
This commit is contained in:
@ -4,6 +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');
|
||||
header('Content-type: text/plain');
|
||||
echo $_SESSION['screen_width'];
|
||||
echo $_SESSION['screen_height'];
|
||||
|
Reference in New Issue
Block a user