]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load_cache-them.php
The yearly copyright-update commit. 2009, 2010 are now copyrighted on the developer...
[mailer.git] / inc / loader / load_cache-them.php
index cbf87063a7bfb016a3b764150899c27a34c84c01..76faa9653a82e3b3bc4cc7985ed5cfbcc77ddec7 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                              *
@@ -18,6 +18,7 @@
  * 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,9 +72,9 @@ if (($GLOBALS['cache_instance']->loadCacheFile('themes')) && ($GLOBALS['cache_in
 
        // Remove dummy array
        unset($cache);
-} elseif (getOutputMode() != '1') {
+} elseif (getOutputMode() != 1) {
        // Create cache file here
-       $GLOBALS['cache_instance']->init('THEMES');
+       $GLOBALS['cache_instance']->init();
 
        // Load all themes and their data
        if (getExtensionVersion('theme') >= '0.0.7') {
@@ -92,9 +93,6 @@ if (($GLOBALS['cache_instance']->loadCacheFile('themes')) && ($GLOBALS['cache_in
        // Close the cache
        $GLOBALS['cache_instance']->storeExtensionVersion('theme');
        $GLOBALS['cache_instance']->finalize();
-
-       // Include loader again
-       loadInclude('inc/loader/'.basename(__FILE__));
 }
 
 // [EOF]