X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Floader%2Fload-config.php;h=0641a92eb1ac4693cf6723abc129912fdb6aeefe;hb=3e4fd7d36d85a58509b19060ae892f37299be92e;hp=6c61f8ea2dfe67aaf5a197da2ba2c6945828d638;hpb=4b10617e87d23f8813857c05b6696f6398a23b90;p=mailer.git diff --git a/inc/loader/load-config.php b/inc/loader/load-config.php index 6c61f8ea2d..0641a92eb1 100644 --- a/inc/loader/load-config.php +++ b/inc/loader/load-config.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 * @@ -62,8 +62,10 @@ if (($GLOBALS['cache_instance']->loadCacheFile('config')) && ($GLOBALS['cache_in // Create cache file here $GLOBALS['cache_instance']->init(); - // Load all modules and their data + // Query for all config entries $result = SQL_QUERY('SELECT * FROM `{?_MYSQL_PREFIX?}_config` ORDER BY `config` ASC', __FILE__, __LINE__); + + // .. and load them while ($content = SQL_FETCHARRAY($result)) { // Add row to cache file $GLOBALS['cache_instance']->addRow($content);