diff options
author | emkael <emkael@tlen.pl> | 2017-03-15 17:01:02 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-03-15 17:01:02 +0100 |
commit | 96481892cf693fa33d5f14a3ec6beaed26bd4485 (patch) | |
tree | 97601b9bc240d7994d09719a5819bf035af396e1 /lib/prado/framework/Web/THttpRequest.php | |
parent | c852b322361bb15771e19349c9e36a6f5a4616f2 (diff) |
* bumping Prado version to 3.3.2-r5dd4b52
Diffstat (limited to 'lib/prado/framework/Web/THttpRequest.php')
-rw-r--r-- | lib/prado/framework/Web/THttpRequest.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/prado/framework/Web/THttpRequest.php b/lib/prado/framework/Web/THttpRequest.php index 926cfa4..724c641 100644 --- a/lib/prado/framework/Web/THttpRequest.php +++ b/lib/prado/framework/Web/THttpRequest.php @@ -534,6 +534,15 @@ class THttpRequest extends TApplicationComponent implements IteratorAggregate,Ar } /** + * @return string server software + * @since 3.3.3 + */ + public function getServerSoftware() + { + return isset($_SERVER['SERVER_SOFTWARE'])?$_SERVER['SERVER_SOFTWARE']:null; + } + + /** * @return integer server port number */ public function getServerPort() @@ -1403,4 +1412,3 @@ class THttpRequestUrlFormat extends TEnumerable const Path='Path'; const HiddenPath='HiddenPath'; } - |