We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec5c5ff commit 27f2df1Copy full SHA for 27f2df1
access.class.php
@@ -83,7 +83,7 @@ public function __construct()
83
$this->access['browserVersion'] = $this->getBrowserVersion();
84
$this->access['OS'] = $this->getOS();
85
$this->access['robot'] = $this->getRobot();
86
- $this->access['referer'] = $_SERVER['HTTP_REFERER'];
+ $this->access['referer'] = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : "Direct";
87
$this->access['time'] = time();
88
}
89
0 commit comments