X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-admin.php;h=a28716c64442b51c38ae6700241a257bf14c8d1e;hb=3afdce4fe00b4af570122ce7b8158ced44aec7d3;hp=7da2d0635584a34628171672473ccd76055b99f8;hpb=08b3c51b70b6498fd92a2760979d64470ad1b586;p=mailer.git diff --git a/inc/modules/guest/action-admin.php b/inc/modules/guest/action-admin.php index 7da2d06355..a28716c644 100644 --- a/inc/modules/guest/action-admin.php +++ b/inc/modules/guest/action-admin.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Administrative Links * * -------------------------------------------------------------------- * - * * + * $Revision:: $ * + * $Date:: $ * + * $Tag:: 0.2.1-FINAL $ * + * $Author:: $ * + * Needs to be in all Files and every File needs "svn propset * + * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2008 by Roland Haeder * * For more information visit: http://www.mxchange.org * @@ -33,20 +38,20 @@ // 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 ($BLOCK_MODE) { +} elseif ($GLOBALS['block_mode']) { // Block mode detected return; } // Only when one admin link is clicked... $INC = sprintf("inc/modules/guest/what-%s.php", SQL_ESCAPE($GLOBALS['what'])); -if (FILE_READABLE($INC)) { +if (isIncludeReadable($INC)) { // Ok, we finally load the guest action module - LOAD_INC($INC); + loadInclude($INC); } else { - addFatalMessage(sprintf(getMessage('GUEST_404_ACTION'), SQL_ESCAPE($GLOBALS['what']))); + addFatalMessage(__FILE__, __LINE__, getMessage('GUEST_404_ACTION'), $GLOBALS['what']); } //