]> git.mxchange.org Git - mailer.git/blobdiff - img.php
Global variables rewritten
[mailer.git] / img.php
diff --git a/img.php b/img.php
index b6e1636eeece57e07885b755f4b1c50f28cb727c..cf410ccdb14ba007296e0cdf4cab79469575be86 100644 (file)
--- a/img.php
+++ b/img.php
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
 $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 
 // Set module
-$GLOBALS['module'] = "img"; $CSS = -1;
+$GLOBALS['module'] = "img"; $GLOBALS['output_mode'] = -1;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Script installed?
 if (isBooleanConstantAndTrue('mxchange_installed')) {
@@ -60,7 +60,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
                );
 
                // Include is readable?
-               if (FILE_READABLE($INC)) {
+               if (INCLUDE_READABLE($INC)) {
                        // Include it
                        LOAD_INC($INC);
                } // END - if