Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -> SUCHE (um Zeile 28 rum):
- if (!isset($_SERVER['PHP_AUTH_USER']) ||
- !($sessionid = $GLOBALS['egw']->session->create($_SERVER['PHP_AUTH_USER'],$_SERVER['PHP_AUTH_PW'],'text')))
- -> ERSETZE durch:
- if (isset($_SERVER['PHP_AUTH_USER']))
- {
- $user = $_SERVER['PHP_AUTH_USER'];
- $pass = $_SERVER['PHP_AUTH_PW'];
- }
- elseif(isset($_GET['auth']))
- {
- if (preg_match('/Basic\s+(.*)$/i', $_GET['auth'], $auth))
- {
- list($user,$pass) = explode(':', base64_decode($auth[1]));
- }
- }
- if (!isset($user) || !($sessionid = $GLOBALS['egw']->session->create($user,$pass,'text')))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement