@@ 77-83 (lines=7) @@ | ||
74 | setcookie($cookiename,$cookie, 0, '/', false, $https, true); |
|
75 | } |
|
76 | ||
77 | function ldGenerateSessionKeyCheck() { |
|
78 | global $ARCurrent; |
|
79 | $session_key = $ARCurrent->session->get('ARSessionKey', true); |
|
80 | $ARUserDir = $ARCurrent->session->get('ARUserDir', true); |
|
81 | $login = $ARCurrent->session->get('ARLogin'); |
|
82 | return "{".md5($login.$ARUserDir.$session_key)."}"; |
|
83 | } |
|
84 | ||
85 | function ldGetCredentials() { |
|
86 | debug("ldGetCredentials()","object"); |
@@ 205-211 (lines=7) @@ | ||
202 | ||
203 | } |
|
204 | ||
205 | function ldGenerateSessionKeyCheck() { |
|
206 | global $ARCurrent; |
|
207 | $session_key = $ARCurrent->session->get('ARSessionKey', true); |
|
208 | $ARUserDir = $ARCurrent->session->get('ARUserDir', true); |
|
209 | $login = $ARCurrent->session->get('ARLogin'); |
|
210 | return "{".md5($login.$ARUserDir.$session_key)."}"; |
|
211 | } |
|
212 | ||
213 | function ldGetCredentials() { |
|
214 | debug("ldGetCredentials()","object"); |