X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Findex.php;h=c9be645bdb3d19f79a110269340607cd62dee40a;hb=648afd5e9ca91e878a755fdb5438ac6103a4ac7e;hp=3f4fb3da07950f484de682b15187de9ce6716e34;hpb=f5ebd83b36f343022977241bd9b570051ece4b0f;p=mailer.git diff --git a/inc/modules/index.php b/inc/modules/index.php index 3f4fb3da07..c9be645bdb 100644 --- a/inc/modules/index.php +++ b/inc/modules/index.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 * @@ -39,7 +40,10 @@ // 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)));