X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffilters.php;h=627a4007b89bc12e39c14db67edfe2de6421aae4;hp=018e8b6fd4b658b5319f2da337f86fbadc94f01c;hb=60403e95910ee466e0ef685b068facb88237721f;hpb=de5910b8e5deb9285a7ac57c26ebd894f4e1afbf diff --git a/inc/filters.php b/inc/filters.php index 018e8b6fd4..627a4007b8 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -475,11 +475,12 @@ function FILTER_COMPILE_EXPRESSION_CODE ($code) { if (function_exists($commandFunction)) { // Prepare $matches, $key, $outputMode, etc. $data = array( - 'matches' => $matches, - 'key' => $key, - 'mode' => $outputMode, - 'code' => $code, - 'callback' => $callback + 'matches' => $matches, + 'key' => $key, + 'mode' => $outputMode, + 'code' => $code, + 'callback' => $callback, + 'extra_func' => $extraFunction ); // Call it @@ -703,14 +704,6 @@ function FILTER_LOAD_RUNTIME_INCLUDES () { // Load the include loadIncludeOnce($inc); } // END - foreach - - // Load admin include file if he is admin - if (isAdmin()) { - // Administrative functions - loadIncludeOnce('inc/modules/admin/admin-inc.php'); - } // END - if - //* DEBUG: */ addPointsThroughReferalSystem('test', 36, 1000); - //* DEBUG: */ die(); } // Filter for checking admin ACL