]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix spelling
authorCraig Andrews <candrews@integralblue.com>
Thu, 3 Sep 2009 19:30:19 +0000 (15:30 -0400)
committerCraig Andrews <candrews@integralblue.com>
Thu, 3 Sep 2009 19:30:19 +0000 (15:30 -0400)
actions/api.php

index f624d6b693b70ddbc86bd178f7a307e0da3eeb16..c236378bcb4f2a0fcd454c74a223580785fb8641 100644 (file)
@@ -221,12 +221,12 @@ class ApiAction extends Action
        elseif ( isset($authorization_header) && strstr(substr($authorization_header, 0,5),'Basic')  )
        {
                // decode the HTTP_AUTHORIZATION header on php-cgi server self
-               // on fcgid server is the header name AUTHORIZATION
+               // on fcgid server the header name is AUTHORIZATION
 
                $auth_hash = base64_decode( substr($authorization_header, 6) );
                list($this->auth_user, $this->auth_pw) = explode(':', $auth_hash);
 
-               // set all to NULL on a emty basic auth request
+               // set all to NULL on a empty basic auth request
                if($this->auth_user == "") {
                        $this->auth_user = NULL;
                        $this->auth_pw = NULL;