X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=api.php;h=a27acc7b828312d00a2e8c438a65a545c661fa59;hp=fb54301d80d7340af80f3904d76397d2b2725ce9;hb=61621983cc6d7195fcc7eab29b5f6080ff283b34;hpb=cd7d344ea7007cfa20413acd3e03e50f0ab86d86 diff --git a/api.php b/api.php index fb54301d80..a27acc7b82 100644 --- a/api.php +++ b/api.php @@ -10,13 +10,8 @@ * -------------------------------------------------------------------- * * 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 * + * 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,22 +48,25 @@ $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'); // Load special API library -//loadIncludeOnce('inc/ajax-functions.php'); +//loadIncludeOnce('inc/api-functions.php'); // Init API request (including HTTP status code) -//initAjax(); +//initApi(); // Load header here -loadIncludeOnce('inc/header.php'); +loadPageHeader(); // @TODO Do stuff here // Footer -loadIncludeOnce('inc/footer.php'); +loadPageFooter(); // [EOF] ?>