]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load_cache-them.php
Shorter columns, thanks to meinimbuzz
[mailer.git] / inc / loader / load_cache-them.php
index ae2d6bfceb665bea42d094a50f862775983c3547..a6eb3cb4a734e6f924a105a86c990d9f42ab4846 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 09/15/2008 *
- * ===============                              Last change: 09/15/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 09/15/2008 *
+ * ===================                          Last change: 09/15/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : load_cache-them.php                              *
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -71,12 +70,12 @@ if (($GLOBALS['cache_instance']->loadCacheFile('themes')) && ($GLOBALS['cache_in
 
        // Remove dummy array
        unset($cache);
-} elseif (getOutputMode() != 1) {
+} elseif (isHtmlOutputMode()) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();
 
        // Load all themes and their data
-       if (getExtensionVersion('theme') >= '0.0.7') {
+       if (isExtensionInstalledAndNewer('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__);
        } else {
                $result = SQL_QUERY('SELECT id, theme_path, theme_active, theme_ver FROM `{?_MYSQL_PREFIX?}_themes` ORDER BY `id`', __FILE__, __LINE__);