$CSS = 0;
// Load the required file(s)
-require("inc/config.php");
+require_once("inc/config.php");
// Is the "doubler" extension active?
if (!EXT_IS_ACTIVE("doubler")) {
if (!defined('__ERROR_MSG')) define('__ERROR_MSG' , "");
// Shall I check for points immediately?
- if (getConfig('doubler_send_mode') == "DIRECT") require(PATH."inc/doubler_send.php");
+ if (getConfig('doubler_send_mode') == "DIRECT") LOAD_INC("inc/doubler_send.php");
// Output header
- require(PATH."inc/header.php");
+ LOAD_INC("inc/header.php");
// Banner in text
define('__DOUBLER_BANNER', LOAD_TEMPLATE("doubler_banner", true));
LOAD_TEMPLATE("doubler_index");
// Output footer
- require(PATH."inc/footer.php");
+ LOAD_INC("inc/footer.php");
} else {
// You have to install first!
LOAD_URL("install.php");