ADMIN_SAVE_SETTINGS($_POST);
} else {
// Remember config data in constants for the template
- define('__SPONSOR_MIN_POINTS', $_CONFIG['sponsor_min_points']);
- define('__SPONSOR_REF_POINTS', $_CONFIG['sponsor_ref_points']);
+ define('__SPONSOR_MIN_POINTS', getConfig('sponsor_min_points'));
+ define('__SPONSOR_REF_POINTS', getConfig('sponsor_ref_points'));
// Load template
LOAD_TEMPLATE("admin_config_sponsor");