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