also prevent it in .htacces. You may want to add this to one of your files in /etc...
[mailer.git] / autoreg.php
index a7b5ee159ba45e4d55ecc7c9e389dfc4c082c95e..f843365074270b763ba1a73389e42c47cb8bf750 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : API-Script fuer ext-autoreg                      *
  * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -50,19 +45,19 @@ $GLOBALS['__module']      = 'autoreg';
 $GLOBALS['__header_sent'] = 2;
 $GLOBALS['__footer_sent'] = 2;
 
-// Load the required file(s)
-require('inc/config-global.php');
+// Initialize application
+require('inc/init.php');
 
 // Set content type
 setContentType('text/plain');
 
 // Load header
-loadIncludeOnce('inc/header.php');
+loadPageHeader();
 
 // @TODO Add processing of request here
 
 // Load footer
-loadIncludeOnce('inc/footer.php');
+loadPageFooter();
 
 // [EOF]
 ?>