Commit 113face8 authored by Imran Hussain's avatar Imran Hussain
Browse files

fixed paths to external files

parent 6c6dc81e
......@@ -28,12 +28,12 @@ if(isset($_REQUEST['password'])) {
$password = $_REQUEST['password'];
}
include_once("./ldap-auth.php");
include_once("../ldap-auth.php");
$isAuthd = ldapAuth($username, $password);
if ($isAuthd == "sucs"){
include_once("./doorkey.php");
include_once("../doorkey.php");
//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}");
......
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