Commit 40cd7034 authored by Imran Hussain's avatar Imran Hussain
Browse files

suppress output from curl

parent c02b01a3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ if ($isAuthd == "sucs"){
	//curl door
	$curl = curl_init();
	curl_setopt($curl, CURLOPT_URL, "http://door.sucs.org/sendstatus.py?text=${username}%20via%20de%20web&timeout=1&fg=0,0,0&bg=128,255,128&unlock=1&key=${doorkey}");
	curl_setopt($curl,CURLOPT_RETURNTRANSFER,TRUE);
	curl_exec($curl);
	curl_close($curl);
	exit("door unlocked! (probably)");