mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Travis tests for code conformance. Ignore warnings for now. Fixed all errors, left most warnings.
		
			
				
	
	
		
			10 lines
		
	
	
		
			296 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			296 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
session_start();
 | 
						|
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'];
 |