| @@ -24,7 +24,7 @@ discard block | ||
| 24 | 24 | } | 
| 25 | 25 | } | 
| 26 | 26 | |
| 27 | -require_once __DIR__ . "/_prepend.php"; | |
| 27 | +require_once __DIR__."/_prepend.php"; | |
| 28 | 28 | |
| 29 | 29 | use PhpXmlRpc\PhpXmlRpc; | 
| 30 | 30 | use PhpXmlRpc\Server; | 
| @@ -83,7 +83,7 @@ discard block | ||
| 83 | 83 |          } elseif ($_GET['FORCE_AUTH'] == 'Digest') { | 
| 84 | 84 |              if (empty($_SERVER['PHP_AUTH_DIGEST'])) { | 
| 85 | 85 |                  header('HTTP/1.1 401 Unauthorized'); | 
| 86 | -                header('WWW-Authenticate: Digest realm="Phpxmlrpc Digest Realm",qop="auth",nonce="' . uniqid() . '",opaque="' . md5('Phpxmlrpc Digest Realm') . '"'); | |
| 86 | +                header('WWW-Authenticate: Digest realm="Phpxmlrpc Digest Realm",qop="auth",nonce="'.uniqid().'",opaque="'.md5('Phpxmlrpc Digest Realm').'"'); | |
| 87 | 87 |                  die('Text visible if user hits Cancel button'); | 
| 88 | 88 | } | 
| 89 | 89 | } | 
| @@ -91,7 +91,7 @@ discard block | ||
| 91 | 91 |      if (isset($_GET['FORCE_REDIRECT'])) { | 
| 92 | 92 |          header('HTTP/1.0 302 Found'); | 
| 93 | 93 | unset($_GET['FORCE_REDIRECT']); | 
| 94 | -        header('Location: ' . $_SERVER['REQUEST_URI'] . (count($_GET) ? '?' . http_build_query($_GET) : '')); | |
| 94 | +        header('Location: '.$_SERVER['REQUEST_URI'].(count($_GET) ? '?'.http_build_query($_GET) : '')); | |
| 95 | 95 | die(); | 
| 96 | 96 | } | 
| 97 | 97 | } |