Skip to content

Commit 27f2df1

Browse files
authored
Add files via upload
1 parent ec5c5ff commit 27f2df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

access.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function __construct()
8383
$this->access['browserVersion'] = $this->getBrowserVersion();
8484
$this->access['OS'] = $this->getOS();
8585
$this->access['robot'] = $this->getRobot();
86-
$this->access['referer'] = $_SERVER['HTTP_REFERER'];
86+
$this->access['referer'] = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : "Direct";
8787
$this->access['time'] = time();
8888
}
8989

0 commit comments

Comments
 (0)