Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sucssite
doorkey
Commits
113face8
Commit
113face8
authored
May 01, 2018
by
Imran Hussain
Browse files
fixed paths to external files
parent
6c6dc81e
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/index.php
View file @
113face8
...
...
@@ -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}"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment