$CSS = "1"; $GLOBALS['module'] = "js";
// Load the required file(s)
-require("inc/config.php");
+require_once("inc/config.php");
// Is this script installed and a JavaScript tag is provied?
if ((isBooleanConstantAndTrue('mxchange_installed')) && (isset($_GET['tag']))) {
@header("Content-type: text/javascript");
// Load header
- require_once(PATH."inc/header.php");
+ LOAD_INC_ONCE("inc/header.php");
// Prepare include file for looking
- $fqfn = sprintf("%sinc/js/tag-%s.php",
- PATH,
+ $INC = sprintf("inc/js/tag-%s.php",
SQL_ESCAPE($_GET['tag'])
);
// Is that file readable?
- if (FILE_READABLE($fqfn)) {
+ if (FILE_READABLE($INC)) {
// Include it
- require_once($fqfn);
+ LOAD_INC_ONCE($INC);
} // END - if
// Load footer
- require_once(PATH."inc/footer.php");
+ LOAD_INC_ONCE("inc/footer.php");
} // END - if
//