X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-main.php;h=a555c07e79914463f22311a1839ec9a716f178ca;hb=78de893e6a62885f106b8176aece16847c09eea2;hp=1dd7847bac5fbd448d4b2defca8546e7ff41c09a;hpb=508228c85fba8448d00865b1639cb8cd7a69e457;p=mailer.git diff --git a/inc/modules/guest/action-main.php b/inc/modules/guest/action-main.php index 1dd7847bac..a555c07e79 100644 --- a/inc/modules/guest/action-main.php +++ b/inc/modules/guest/action-main.php @@ -10,7 +10,7 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Hauptmenue: Anmeldung, Login, Willkommen usw. * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * + * $Revision:: $ * * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * @@ -38,7 +38,7 @@ // Some security stuff... if (!defined('__SECURITY')) { - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; + $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php'; require($INC); } elseif ($GLOBALS['block_mode']) { // Block mode detected @@ -46,13 +46,13 @@ if (!defined('__SECURITY')) { } // Add description as navigation point -ADD_DESCR("guest", __FILE__); +ADD_DESCR('guest', __FILE__); // Load the include file $INC = sprintf("inc/modules/guest/what-%s.php", SQL_ESCAPE($GLOBALS['what'])); -if (INCLUDE_READABLE($INC)) { +if (isIncludeReadable($INC)) { // Ok, we finally load the guest action module - LOAD_INC($INC); + loadInclude($INC); } else { addFatalMessage(__FILE__, __LINE__, getMessage('GUEST_404_ACTION'), $GLOBALS['what']); }