Skip to content

Commit

Permalink
SanitizeHttpReferer() removed parameter $sWbUrl
Browse files Browse the repository at this point in the history
WB_URL is a constant and it will stay vor a while $sWbUrl was introduced for
removing all constants. As we don't plan to remove em we remove this feature.
  • Loading branch information
NorHei committed Oct 26, 2015
1 parent 45422eb commit 4c19ffa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wbce/framework/initialize.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
if (!defined('ADMIN_PATH')) {define('ADMIN_PATH', WB_PATH . '/' . ADMIN_DIRECTORY);}

// sanitize $_SERVER['HTTP_REFERER']
SanitizeHttpReferer(WB_URL);
SanitizeHttpReferer();
date_default_timezone_set('UTC');

// register WB Autoloader
Expand Down Expand Up @@ -173,7 +173,6 @@

/**
* sanitize $_SERVER['HTTP_REFERER']
* @param string $sWbUrl qualified startup URL of current application
*/
function SanitizeHttpReferer()
{
Expand Down

0 comments on commit 4c19ffa

Please sign in to comment.