X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=modules.php;h=1019638b45a0e932a7e34e120ffb2c8e35ea7bd5;hp=52833e3ac429b73b9d8fe5f20cac48cc0ea17299;hb=c99c15da4f0f45ea20be40a1320112e7af83af90;hpb=e1653405d28923c78b2e292125306ccf61138f24 diff --git a/modules.php b/modules.php index 52833e3ac4..1019638b45 100644 --- a/modules.php +++ b/modules.php @@ -38,10 +38,12 @@ require_once ("inc/libs/security_functions.php"); // Init "action" and "what" -global $what, $action; +global $what, $action, $startTime; +$GLOBALS['startTime'] = microtime(true); $CSS = 0; $GLOBALS['what'] = ""; $GLOBALS['action'] = ""; $GLOBALS['userid'] = 0; + if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']); if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']); if (empty($_GET['module'])) $_GET['module'] = "index";