X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=ref.php;h=c83f596ccb619c1e946708f3b1264d4abf8e0a0b;hp=ef79784df3ed57ca756e500a41f97606d3b51cfe;hb=d52156d35605388b7554c31d08bc29f0bb167079;hpb=397eb5dee2611cfaa1ff494d73e6785b88109cd6 diff --git a/ref.php b/ref.php index ef79784df3..c83f596ccb 100644 --- a/ref.php +++ b/ref.php @@ -32,7 +32,7 @@ ************************************************************************/ // 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; @@ -42,7 +42,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = ""; $GLOBALS['module'] = "ref"; $CSS = -1; // Load the required file(s) -require_once("inc/config.php"); +require("inc/config.php"); // Redirect only to registration page when this script is installed if (isBooleanConstantAndTrue('mxchange_installed')) { @@ -50,7 +50,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) { switch (getConfig('refid_target')) { case "register": - $URL = "modules.php?module=index&what=register&refid="; + $URL = "modules.php?module=index&what=register&refid="; break; case "index":