************************************************************************/
// Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
// Init "action" and "what"
global $what, $action;
$GLOBALS['module'] = "mailid"; $CSS = 0;
// Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
if (isBooleanConstantAndTrue('mxchange_installed')) {
// Is the extension active
$template = "mailid_points_done";
// Right code entered add points and remove entry
- if (($ref_pay > 0) && (getConfig('allow_direct_pay') == "N")) {
+ if (($ref_pay > 0) && (getConfig('allow_direct_pay') != "Y")) {
// Don't add points over the referal system
$locked = true;
$template = "mailid_points_locked";