mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Move qr_encode() to inc/functions
This commit is contained in:
		| @@ -10,11 +10,6 @@ if (!isset($_SERVER['HTTP_REFERER'])) { | ||||
|     exit; | ||||
| } | ||||
|  | ||||
| function qr_encode($str) | ||||
| { | ||||
|     return preg_replace('/(?<!\\\)([\":;,])/', '\\\\\1', $str); | ||||
| } | ||||
|  | ||||
| $hostapd = parse_ini_file(RASPI_HOSTAPD_CONFIG, false, INI_SCANNER_RAW); | ||||
|  | ||||
| // assume wpa encryption and get the passphrase | ||||
|   | ||||
		Reference in New Issue
	
	Block a user