// Load the required file(s)
require("inc/config.php");
// Redirect only to registration page when this script is installed
// Load the required file(s)
require("inc/config.php");
// Redirect only to registration page when this script is installed
- if (!empty($_GET['ref'])) $ref = secureString($_GET['ref']);
- elseif (!empty($_GET['refid'])) $ref = secureString($_GET['refid']);
+ if (REQUEST_ISSET_GET(('ref'))) $ref = REQUEST_GET('ref');
+ elseif (REQUEST_ISSET_GET(('refid'))) $ref = REQUEST_GET('refid');