mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Update ajax_setresolution.php
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user