diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-09-03 15:30:19 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-09-03 15:30:19 -0400 |
commit | ebcbd3820e10e70ab2ed1bff9839a03f2948ee8f (patch) | |
tree | 4388826739b20dd78fa6440f256e3e0ffb1d3197 /actions/api.php | |
parent | 0d7d4dfe5d258d2018f601f8116d629577105864 (diff) |
Fix spelling
Diffstat (limited to 'actions/api.php')
-rw-r--r-- | actions/api.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/api.php b/actions/api.php index f624d6b69..c236378bc 100644 --- a/actions/api.php +++ b/actions/api.php @@ -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; |