diff --git a/classes/MobileDeviceDetect.php b/classes/MobileDeviceDetect.php
index 8a91d26..315048a 100644
--- a/classes/MobileDeviceDetect.php
+++ b/classes/MobileDeviceDetect.php
@@ -36,6 +36,7 @@ class MobileDeviceDetect
protected $cache;
protected $words;
protected $request;
+ protected $language;
private $_user_agent;
private $_name;
@@ -46,15 +47,15 @@ class MobileDeviceDetect
* Load sessions
* @access public
*
- */
+ */
function __construct($ua = '')
{
global $cache;
global $request, $words;
- $this->cache = $cache;
- $this->request = $request;
- $this->language = $words;
+ $this->cache = $cache;
+ $this->request = $request;
+ $this->language = $words;
if(empty($ua))
{
@@ -607,9 +608,8 @@ class MobileDeviceDetect
" - {$this->getVersion()}" .
//"Browser User Agent String: {$this->getUserAgent()}
\n" .
" :: from OS: {$this->getPlatform()}" .
- "-{$mobile_device}, on a server with PHP ". PHP_VERSION ." & OS ". PHP_OS;
+ "-{$mobile_device}, on a server with PHP ". PHP_VERSION ." & OS ". PHP_OS;
}
}
-
//end of class
?>