librenms-librenms/html/ajax_mapview.php
2016-08-13 03:20:55 +03:00

8 lines
172 B
PHP

<?php
session_start();
if (isset($_REQUEST['mapView'])) {
$_SESSION['mapView'] = $_REQUEST['mapView'];
}
header('Content-type: text/plain');
echo $_SESSION['mapView'];