mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Handler for restart lighttpd
This commit is contained in:
		| @@ -86,6 +86,11 @@ function DisplaySystem() | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     if (isset($_POST['RestartLighttpd'])) { | ||||
|         $status->addMessage('Restarting lighttpd in 3 seconds...','info'); | ||||
|         exec('sudo /etc/raspap/lighttpd/configport.sh --restart'); | ||||
|     } | ||||
|  | ||||
|     exec('cat '. RASPI_LIGHTTPD_CONFIG, $return); | ||||
|     $conf = ParseConfig($return); | ||||
|     $ServerPort = $conf['server.port']; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user