]> git.mxchange.org Git - mailer.git/blobdiff - api.php
Temporary set 404 to avoid backtrace:
[mailer.git] / api.php
diff --git a/api.php b/api.php
index a6524ae02c1a72f9e44d201ac263210c8cf1939c..0efa75357c1ebb0b257c7ff8c14135d509aed425 100644 (file)
--- a/api.php
+++ b/api.php
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Allgemeines API-Script                           *
  * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
@@ -53,6 +48,9 @@ $GLOBALS['__module']      = 'api';
 $GLOBALS['__header_sent'] = 2;
 $GLOBALS['__footer_sent'] = 2;
 
+// Temporary set HTTP 404 here. This will be removed once this stuff is ready.
+setHttpStatus('404 Not Found');
+
 // Load config file
 require('inc/config-global.php');
 
@@ -63,12 +61,12 @@ require('inc/config-global.php');
 //initApi();
 
 // Load header here
-loadIncludeOnce('inc/header.php');
+loadPageHeader();
 
 // @TODO Do stuff here
 
 // Footer
-loadIncludeOnce('inc/footer.php');
+loadPageFooter();
 
 // [EOF]
 ?>