X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Floader%2Fload-modules.php;h=727844519641170dab8f5918a1a53c8c3308f209;hb=34ac21e92a4bb77b1151e0ddba1242d20c3394b6;hp=4ace00bb02ffa0f7b2614646a9a66b8cee088a1c;hpb=7f9b3d2c3d6937bd9b9435142270cf96547f6dd7;p=mailer.git diff --git a/inc/loader/load-modules.php b/inc/loader/load-modules.php index 4ace00bb02..7278445196 100644 --- a/inc/loader/load-modules.php +++ b/inc/loader/load-modules.php @@ -17,7 +17,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -53,8 +53,11 @@ if (($GLOBALS['cache_instance']->loadCacheFile('modules')) && ($GLOBALS['cache_i // Do only process valid arrays if (!isset($modArray['module'])) { - // We should fix this! - debug_report_bug(__FILE__, __LINE__, 'modArray=
'.print_r($modArray, true).''); + // Try to remove the cache file + $GLOBALS['cache_instance']->removeCacheFile(); + + // We should fix this + debug_report_bug(__FILE__, __LINE__, 'modArray=
' . print_r($modArray, true) . 'Please try to reload to fix this.'); } // END - if // Rewrite some parts