$GLOBALS['module'] = "index";
// Load config.php
-require("inc/config.php");
+require_once("inc/config.php");
// Is the script installed?
if (isBooleanConstantAndTrue('mxchange_installed')) {
// Header
- require(PATH."inc/header.php");
+ LOAD_INC("inc/header.php");
// Fix missing array elements here
if (getConfig('index_delay') == null) $_CONFIG['index_delay'] = 0;
}
// Footer
- require(PATH."inc/footer.php");
+ LOAD_INC("inc/footer.php");
} else {
// You have to install first!
LOAD_URL("install.php");