X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffilter-functions.php;h=de21a6fd9c69a8fe4e1d0e050fe5ccc158ced7b0;hb=refs%2Fheads%2Fserver-0.2.1-FINAL%2Fshipsimu-org;hp=c8e74588e557eda94cd2b8fa00c2b1af6c793def;hpb=ed930d1133b51edc7ec2379d91286d64afd9bc4f;p=mailer.git diff --git a/inc/filter-functions.php b/inc/filter-functions.php index c8e74588e5..de21a6fd9c 100644 --- a/inc/filter-functions.php +++ b/inc/filter-functions.php @@ -11,7 +11,7 @@ * Kurzbeschreibung : Funktionen fuer Filter-System * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * Copyright (c) 2009 - 2016 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -69,7 +69,7 @@ ORDER BY `filter_id` ASC', __FUNCTION__, __LINE__); // Are there entries? - if (!ifSqlHasZeroNums($result)) { + if (!ifSqlHasZeroNumRows($result)) { // Load all filters while ($filterArray = sqlFetchArray($result)) { // Get filter name and function @@ -101,6 +101,7 @@ ORDER BY registerFilter(__FUNCTION__, __LINE__, 'init', 'LOAD_CONFIGURATION'); registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_RANDOMIZER'); registerFilter(__FUNCTION__, __LINE__, 'init', 'LOAD_RUNTIME_INCLUDES'); + registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_LANGUAGE'); registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_EXTENSIONS'); registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_SESSION'); registerFilter(__FUNCTION__, __LINE__, 'init', 'SET_CURRENT_DATE'); @@ -117,7 +118,6 @@ ORDER BY registerFilter(__FUNCTION__, __LINE__, 'init', 'COUNT_MODULE'); registerFilter(__FUNCTION__, __LINE__, 'init', 'UPDATE_LOGIN_DATA'); registerFilter(__FUNCTION__, __LINE__, 'init', 'ACTIVATE_EXCHANGE'); - registerFilter(__FUNCTION__, __LINE__, 'init', 'REDIRECT_WRONG_SERVER_NAME'); // Post-initialization registerFilter(__FUNCTION__, __LINE__, 'post_init', 'DETERMINE_USERNAME'); @@ -291,7 +291,7 @@ function runFilterChain ($filterName, $filterData = NULL) { // Is that filter chain there? if (!isset($GLOBALS['cache_array']['filter']['chains'][$filterName])) { - // Log not found filters in debug-mode + // Filter chain not found filters in debug-mode if (isDebugModeEnabled()) { // Log it away... logDebugMessage(__FUNCTION__, __LINE__, 'Filter chain ' . $filterName . ' does not exist.');