//
function GENERATE_SPONSOR_CONTENT($what)
{
- global $HTTP_POST_VARS, $_GET, $CONFIG;
+ global $_CONFIG;
$OUT = "";
$FILE = sprintf("%sinc/modules/sponsor/%s.php", PATH, $what);
if (FILE_READABLE($FILE)) {
//
function UPDATE_SPONSOR_LOGIN()
{
- global $_COOKIE, $CONFIG;
+ global $_COOKIE, $_CONFIG;
// Check if cookies are set
if ((empty($_COOKIE['sponsorid'])) || (empty($_COOKIE['sponsorpass']))) return false;
// Calculate cookie lifetime, maybe we have to change this so the admin can setup a
// seperate timeout for these two cookies?
- $life = (time() + $CONFIG['online_timeout']);
+ $life = (time() + $_CONFIG['online_timeout']);
// Is confirmed so both is fine and we can continue with login procedure
$login = ((setcookie("sponsorid" , bigintval($_COOKIE['sponsorid']), $life, COOKIE_PATH)) &&