summaryrefslogtreecommitdiff
path: root/it_browser.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_browser.class')
-rw-r--r--it_browser.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_browser.class b/it_browser.class
index cb64755..1154d52 100644
--- a/it_browser.class
+++ b/it_browser.class
@@ -54,7 +54,7 @@ class it_browser
/**
* Constructor: Initializes public fields with browser capabilities
*/
-function it_browser()
+function __construct()
{
$this->UserAgent = $_SERVER['HTTP_USER_AGENT'];
/* $this->UserAgent = "Mozilla/4.0 [de] (compatible; MSIE 5.0; Windows 95; .NET CRL 2.0.154)"; */