also prevent it in .htacces. You may want to add this to one of your files in /etc...
[mailer.git] / cron.php
index acf0639bc6f702b378af4ba2261a142bd56850df..b6863e5d69ce77670eef05886c4a6a73eae0b80c 100644 (file)
--- a/cron.php
+++ b/cron.php
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Cronjob-Script fuer externen/lokalen Aufruf      *
  * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 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 *
@@ -53,16 +48,16 @@ $GLOBALS['__module']      = 'cron';
 $GLOBALS['__header_sent'] = 2;
 $GLOBALS['__footer_sent'] = 2;
 
-// Load config file
-require('inc/config-global.php');
+// Initialize application
+require('inc/init.php');
 
 // Load header here
-loadIncludeOnce('inc/header.php');
+loadPageHeader();
 
 // @TODO Do stuff here
 
 // Footer
-loadIncludeOnce('inc/footer.php');
+loadPageFooter();
 
 // [EOF]
 ?>