Renamed templates + added some filters for mail order
[mailer.git] / admin.php
index be967cd479ad44ea6b7b31889fa61a824867cc4b..4f94576b0901f7a4431af2583c85abf7c38b14d0 100644 (file)
--- a/admin.php
+++ b/admin.php
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
 // Load security stuff here
 require('inc/libs/security_functions.php');
 
+// Init start time
+$GLOBALS['__start_time'] = microtime(TRUE);
+
 // Set module
-$GLOBALS['module'] = 'admin';
-$GLOBALS['output_mode'] = -1;
+$GLOBALS['__module']      = 'admin';
+$GLOBALS['__output_mode'] = -1;
 
 // Load the required file(s)
 require('inc/config-global.php');
@@ -48,7 +51,7 @@ require('inc/config-global.php');
 // Set content type for e.g. search engines
 setContentType('text/html');
 
-// Is the admin logged-in and no sql_patches installed?
+// Is the admin logged-in and no ext-sql_patches installed?
 if ((isAdmin()) && (!isExtensionActive('sql_patches'))) {
        // Extension 'sql_patches' is missing!
        redirectToUrl('modules.php?module=admin&sql_patches=1');