]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-connect.php
Even more rewrites/fixes from EL branch (please report any broken part after you...
[mailer.git] / inc / mysql-connect.php
index bd91776d29aeff97a51e04932384e6dc5c7c8c9e..4ad7d8b2670a5f9d6991ee750ccf94f816089ba4 100644 (file)
@@ -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 *
@@ -150,20 +151,17 @@ if ((!isInstalling()) && (!isInstallationPhase())) {
                loadIncludeOnce($inc);
        } // END - foreach
 
-       // Init filter system here
-       initFilterSystem();
+       // Load cache
+       loadIncludeOnce('inc/load_cache.php');
+
+       // Run the init filter chain
+       runFilterChain('init');
 
        // Are we installation routine?
        if ((!isInstalling()) && (getOutputMode() != 1) && (getOutputMode() != -1)) {
                // You have to install first!
                redirectToUrl('install.php');
        } // END - if
-
-       // Load cache
-       loadIncludeOnce('inc/load_cache.php');
-
-       // Run the init filter chain
-       runFilterChain('init');
 }
 
 // Handle fatal errors