Skip to content

Commit

Permalink
Changed WBSTATS so it generates the referer var by itself.
Browse files Browse the repository at this point in the history
  • Loading branch information
NorHei committed Sep 24, 2017
1 parent fe3d135 commit a9441a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wbce/modules/wbstats/info.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@

$module_directory = 'wbstats';
$module_name = 'Visitor statistics';
$module_function = 'tool';
$module_version = '0.1.11';
$module_function = 'tool,initialize';
$module_version = '0.1.12';
$module_platform = '2.8.x';
$module_author = 'Dev4me - Ruud Eisinga - www.dev4me.nl';
$module_author = 'Dev4me - Ruud Eisinga - www.dev4me.nl Norbert Heimsath(heimsath.org)';
$module_license = 'GNU General Public License';
$module_description = 'Displays website statistics as an admintool';

2 changes: 2 additions & 0 deletions wbce/modules/wbstats/initialize.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
$referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '');

0 comments on commit a9441a7

Please sign in to comment.