$GLOBALS['module'] = "birthday_confirm"; $CSS = -1;
// Load the required file(s)
-require("inc/config.php");
+require_once("inc/config.php");
// Is the "birthday" extension active?
if (!EXT_IS_ACTIVE("birthday")) {
$GLOBALS['module'] = "birthday_confirm";
// Include header
- require(PATH."inc/header.php");
+ LOAD_INC("inc/header.php");
// Load birthday header template (for your banners, e.g.?)
define('__BIRTHDAY_HEADER', LOAD_TEMPLATE("birthday_header", true));
LOAD_TEMPLATE("birthday_confirm");
// Include footer
- require(PATH."inc/footer.php");
+ LOAD_INC("inc/footer.php");
} else {
// You have to install first!
LOAD_URL("install.php");