X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Floader%2Fload-earning.php;h=18180aca1ab4493d91df47d0aecd3de88efae270;hb=0ed9eaa5aea8db1f690a983a39ff4b2074faf6c5;hp=fabe21e6580ba8301504772fd05774f248f172c2;hpb=c1d57a8a58b046a0beb615dd9a0a97302f2be253;p=mailer.git diff --git a/inc/loader/load-earning.php b/inc/loader/load-earning.php index fabe21e658..18180aca1a 100644 --- a/inc/loader/load-earning.php +++ b/inc/loader/load-earning.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -39,8 +39,11 @@ if (!defined('__SECURITY')) { die(); } elseif (isInstallationPhase()) { - // Use this code if you don't want to run this cache loader on installation phase - return; + // Do not run in installation phase + return FALSE; +} elseif (!isExtensionInstalled('earning')) { + // Do not cache if not installed! + return FALSE; } // Let's start with the admins table...