]> git.mxchange.org Git - mailer.git/blobdiff - index.php
More rewrites of constants and fix for loading mass-included scripts by GET_DIR_AS_AR...
[mailer.git] / index.php
index f52f5fb2de9d581acf5d6b1d38ac00fbe22ec7bd..6a03eee6224f913c5338d196c1da3b91b32c2442 100644 (file)
--- a/index.php
+++ b/index.php
 require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
-global $what, $action;
-$GLOBALS['what'] = ""; $GLOBALS['action'] = "";
-
-// Set "CSS-Mode"
-$CSS = "0";
+$GLOBALS['what'] = "";
+$GLOBALS['action'] = "";
 
 // Set module
 $GLOBALS['module'] = "index";
 
+// Set "CSS-Mode"
+$GLOBALS['output_mode'] = "0";
+
 // Load config.php
 require("inc/config.php");
 
 // Is the script installed?
-if (isBooleanConstantAndTrue('mxchange_installed')) {
+if (isInstalled()) {
        // Header
        LOAD_INC("inc/header.php");