summaryrefslogtreecommitdiff
path: root/lib/prado/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'lib/prado/framework/Web')
-rw-r--r--lib/prado/framework/Web/Javascripts/source/prado/prado.js2
-rw-r--r--lib/prado/framework/Web/THttpResponse.php5
2 files changed, 2 insertions, 5 deletions
diff --git a/lib/prado/framework/Web/Javascripts/source/prado/prado.js b/lib/prado/framework/Web/Javascripts/source/prado/prado.js
index 2000537..3ff23b9 100644
--- a/lib/prado/framework/Web/Javascripts/source/prado/prado.js
+++ b/lib/prado/framework/Web/Javascripts/source/prado/prado.js
@@ -271,7 +271,7 @@ var Prado =
* Version of Prado clientscripts
* @var Version
*/
- Version: '3.3.2',
+ Version: '3.3.3',
/**
* Registry for Prado components
diff --git a/lib/prado/framework/Web/THttpResponse.php b/lib/prado/framework/Web/THttpResponse.php
index 48328c3..e11a715 100644
--- a/lib/prado/framework/Web/THttpResponse.php
+++ b/lib/prado/framework/Web/THttpResponse.php
@@ -531,10 +531,7 @@ class THttpResponse extends TModule implements ITextWriter
if($this->getRequest()->getHttpProtocolVersion() === null)
$protocol='HTTP/1.1';
- $phpSapiName = substr(php_sapi_name(), 0, 3);
- $cgi = $phpSapiName == 'cgi' || $phpSapiName == 'fpm';
-
- header(($cgi ? 'Status:' : $protocol).' '.$this->_status.' '.$this->_reason, true, TPropertyValue::ensureInteger($this->_status));
+ header($protocol.' '.$this->_status.' '.$this->_reason, true, TPropertyValue::ensureInteger($this->_status));
$this->_httpHeaderSent = true;
}