X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Floader%2Fload_cache-them.php;h=0b453f1b4bfa16b697f7e2c42ef028ca48b6a10c;hp=18781a48e4174dd85647480e1410a434130f80bb;hb=397eb5dee2611cfaa1ff494d73e6785b88109cd6;hpb=cca98f57dff720b174d21d071cee8303462485d7 diff --git a/inc/loader/load_cache-them.php b/inc/loader/load_cache-them.php index 18781a48e4..0b453f1b4b 100644 --- a/inc/loader/load_cache-them.php +++ b/inc/loader/load_cache-them.php @@ -75,9 +75,9 @@ if (($cacheInstance->loadCacheFile("themes")) && ($cacheInstance->extensionVersi // Load all themes and their data if (GET_EXT_VERSION("theme") >= "0.0.7") { - $result = SQL_QUERY("SELECT id, theme_path, theme_active, theme_ver, theme_name FROM `{!MYSQL_PREFIX!}_themes` ORDER BY id", __FILE__, __LINE__); + $result = SQL_QUERY("SELECT id, theme_path, theme_active, theme_ver, theme_name FROM `{!_MYSQL_PREFIX!}_themes` ORDER BY `id`", __FILE__, __LINE__); } else { - $result = SQL_QUERY("SELECT id, theme_path, theme_active, theme_ver FROM `{!MYSQL_PREFIX!}_themes` ORDER BY id", __FILE__, __LINE__); + $result = SQL_QUERY("SELECT id, theme_path, theme_active, theme_ver FROM `{!_MYSQL_PREFIX!}_themes` ORDER BY `id`", __FILE__, __LINE__); } while ($data = SQL_FETCHARRAY($result)) { // Add row to cache file @@ -91,7 +91,7 @@ if (($cacheInstance->loadCacheFile("themes")) && ($cacheInstance->extensionVersi $cacheInstance->finalize(); // Reload the cache - require(__FILE__); + LOAD_INC(__FILE__); } //