]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/request/html/class_HtmlRequest.php
Continued:
[core.git] / framework / main / classes / request / html / class_HtmlRequest.php
index 1326700259d049c14757b80d1b5b65974225b6ba..ba1b4c82708d6e8e4b9ad92683ca4529c382041e 100644 (file)
@@ -4,13 +4,14 @@ namespace Org\Mxchange\CoreFramework\Request;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Request\Requestable;
+use Org\Mxchange\CoreFramework\String\Utils\StringUtils;
 
 /**
  * A concrete and secured HTML request class to make HTML requests more abstract
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2019 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  * @todo               Move out the cookie part to a seperate class, e.g. Cookie
@@ -108,7 +109,7 @@ class HtmlRequest extends BaseRequest implements Requestable {
                $headerValue = NULL;
 
                // Construct the name
-               $name = 'HTTP_' . strtoupper(self::convertDashesToUnderscores($headerName));
+               $name = 'HTTP_' . strtoupper(StringUtils::convertDashesToUnderscores($headerName));
 
                // Does this header exist?
                if (isset($_SERVER[$name])) {