]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/index.php
A lot CSS classes rewritten, please update all your themes.
[mailer.git] / inc / modules / index.php
index 3f4fb3da07950f484de682b15187de9ce6716e34..c9be645bdb3d19f79a110269340607cd62dee40a 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 *
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} // END - if
+} elseif (!isExtensionInstalled('sql_patches')) {
+       // Redirect to admin area
+       redirectToUrl('admin.php');
+}
 
 // Generate a tableset for the menu title and content
 loadTemplate('guest_header', false, array('date_time' => generateDateTime(time(), 1)));