diff options
Diffstat (limited to 'framework/I18N/TGlobalizationAutoDetect.php')
-rw-r--r-- | framework/I18N/TGlobalizationAutoDetect.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/framework/I18N/TGlobalizationAutoDetect.php b/framework/I18N/TGlobalizationAutoDetect.php index b3e0f5db..e7249343 100644 --- a/framework/I18N/TGlobalizationAutoDetect.php +++ b/framework/I18N/TGlobalizationAutoDetect.php @@ -12,11 +12,6 @@ namespace Prado\I18N; /** - * Import the HTTPNeogtiator - */ -Prado::using('System.I18N.core.HTTPNegotiator'); - -/** * TGlobalizationAutoDetect class will automatically try to resolve the default * culture using the user browser language settings. * @@ -32,7 +27,7 @@ class TGlobalizationAutoDetect extends TGlobalization parent::init($xml); //set the culture according to browser language settings - $http = new HTTPNegotiator(); + $http = new core\HTTPNegotiator(); $languages = $http->getLanguages(); if(count($languages) > 0) { |