]> git.mxchange.org Git - mailer.git/blobdiff - api.php
Rewrote init-phase stuff:
[mailer.git] / api.php
diff --git a/api.php b/api.php
index dedbd9c5f9dfe332a20dc3a0ee7d4ae4d277a2fc..1b60bfc89a894ae8fa251c2dc16ec4d4cb447b7c 100644 (file)
--- a/api.php
+++ b/api.php
@@ -11,7 +11,7 @@
  * Kurzbeschreibung  : Allgemeines API-Script                           *
  * -------------------------------------------------------------------- *
  * 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 *
@@ -48,8 +48,11 @@ $GLOBALS['__module']      = 'api';
 $GLOBALS['__header_sent'] = 2;
 $GLOBALS['__footer_sent'] = 2;
 
-// Load config file
-require('inc/config-global.php');
+// Temporary set HTTP 404 here. This will be removed once this stuff is ready.
+setHttpStatus('404 Not Found');
+
+// Initialize application
+require('inc/init.php');
 
 // Load special API library
 //loadIncludeOnce('inc/api-functions.php');