X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Faction-wernis.php;h=94308609b3b86736c83de059bdde03be4e0df53e;hb=5298a98f56b4d62bf6a463d5b8a2b63fb0e453c2;hp=cd32cbab7b141b83e34519ac9e0324dfafca75cd;hpb=4e025e412935b6b221a2d183ada05b7a22f4b9e7;p=mailer.git diff --git a/inc/modules/admin/action-wernis.php b/inc/modules/admin/action-wernis.php index cd32cbab7b..94308609b3 100644 --- a/inc/modules/admin/action-wernis.php +++ b/inc/modules/admin/action-wernis.php @@ -10,7 +10,7 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Auszahlung-Management * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * + * $Revision:: $ * * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * @@ -38,18 +38,18 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!IS_ADMIN())) { - $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); } // Add description as navigation point -ADD_DESCR("admin", __FILE__); +ADD_DESCR('admin', __FILE__); // Load the include file $INC = sprintf("inc/modules/admin/what-%s.php", SQL_ESCAPE($GLOBALS['what'])); -if (INCLUDE_READABLE($INC)) { +if (isIncludeReadable($INC)) { // Ok, we finally load the admin action module - LOAD_INC($INC); + loadInclude($INC); } else { addFatalMessage(__FILE__, __LINE__, getMessage('ADMIN_ACTION_404'), $GLOBALS['what']); }