X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=modules.php;h=bee4beae2c00a70d0f97698017f0e3292245c17d;hp=f1b619b29e731126af0f8c9e5b2162841501933f;hb=84317e249885eb03a99f2946acf285ff27d506ac;hpb=397eb5dee2611cfaa1ff494d73e6785b88109cd6 diff --git a/modules.php b/modules.php index f1b619b29e..bee4beae2c 100644 --- a/modules.php +++ b/modules.php @@ -35,7 +35,7 @@ //xdebug_start_trace(); // 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, $startTime; @@ -55,7 +55,7 @@ if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']); $GLOBALS['module'] = secureString($_GET['module']); // Needed include files -require_once("inc/config.php"); +require("inc/config.php"); // Check if logged in if (IS_MEMBER()) { @@ -70,11 +70,11 @@ if (IS_MEMBER()) { // Additionally admin? if (IS_ADMIN()) { // Add it - $username .= " ("._ADMIN_SHORT.")"; + $username .= " ({!_ADMIN_SHORT!})"; } // END - if } else { // Hmmm, logged in and no valid userid? - $username = ""._UNKNOWN.""; + $username = "{!_UNKNOWN!}"; // Destroy session destroy_user_session();