From c21779bdea9d0dd426afd44ed2cbe4ec1a4392e5 Mon Sep 17 00:00:00 2001 From: Dasa Paddock Date: Mon, 14 Apr 2014 09:20:09 -0700 Subject: [PATCH] Fix spelling. --- PHP/proxy.php | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/PHP/proxy.php b/PHP/proxy.php index dcb3f256..60d0b4ef 100644 --- a/PHP/proxy.php +++ b/PHP/proxy.php @@ -17,10 +17,11 @@ class Proxy { * * @var ProxyConfig */ + public $proxyConfig; /** - * Holds the referer assocated with client request + * Holds the referer associated with client request * * @var string */ @@ -28,7 +29,7 @@ class Proxy { public $referer; /** - * Holds a collection of server urls listed in configution (keys same as keys in config, but lowercase). + * Holds a collection of server urls listed in configuration (keys same as keys in config, but lowercase). * * @var array */ @@ -59,7 +60,6 @@ class Proxy { public $headers; - /** * cURL resource used to send HTTP requests * @@ -68,9 +68,8 @@ class Proxy { public $ch; - /** - * Holds the action assocated with the request (post, get) + * Holds the action associated with the request (post, get) * * @var string */ @@ -86,7 +85,7 @@ class Proxy { public $proxyUrl; /** - * Holds the query string assocated with the request + * Holds the query string associated with the request * * @var string */ @@ -149,7 +148,6 @@ class Proxy { public $sessionUrl; - /** * Allowed application urls array is just an array of urls * @@ -174,7 +172,6 @@ class Proxy { public $proxyBody; - /** * Holds a field to help debug booleans * @@ -410,7 +407,7 @@ public function setProxyHeaders() }else{ - header("Content-Type: text/plain;charset=utf-8"); //If preg_split does not evaulate use text/plain + header("Content-Type: text/plain;charset=utf-8"); //If preg_split does not evaluate use text/plain } } @@ -856,7 +853,7 @@ public function proxyPost($url, $params) $this->proxyBody = null; - if(empty($url) || $url == null || empty($params) || $url == $params){ //If no $url or $params passed, defaut to class property values + if(empty($url) || $url == null || empty($params) || $url == $params){ //If no $url or $params passed, default to class property values $url = $this->proxyUrl; @@ -2159,7 +2156,7 @@ public function getDatabaseErrorMessage() $dbError = array( "error" => array("code" => 500, - "details" => array("A database error occured. Consider backing up and then deleting sqlite database."), + "details" => array("A database error occurred. Consider backing up and then deleting sqlite database."), "message" => "Proxy failed due to database error." ));