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

suppress output from curl

parent c02b01a3
......@@ -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)");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment