$msg = null;
// Load the required file(s)
-require("inc/config.php");
+require_once("inc/config.php");
// Is the "beg" extension active?
if (!EXT_IS_ACTIVE("beg")) {
SQL_FREERESULT($result);
// Include header
- require_once(PATH."inc/header.php");
+ LOAD_INC_ONCE("inc/header.php");
// Load final template
LOAD_TEMPLATE("beg_link");
}
// Include footer
- require_once(PATH."inc/footer.php");
+ LOAD_INC_ONCE("inc/footer.php");
} elseif (($status != "CONFIRMED") && ($status != "failed")) {
// Maybe locked/unconfirmed account?
$msg = GEN_ERROR_CODE_FROM_ACCOUNT_STATUS($status);