if (empty($ref)) $ref = 0;
// Update session
- set_session('refid', $ref);
+ setSession('refid', $ref);
// We have an refid here. So we simply add it
$URL .= bigintval($ref);
}
// Load the URL
- LOAD_URL($URL);
+ redirectToUrl($URL);
} else {
// You have to install first!
- LOAD_URL('install.php');
+ redirectToUrl('install.php');
}
// Really all done here... ;-)