X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=ajax.php;h=73b3d8f191dfafed5ad278cc04f389c5b790842d;hp=f0a04892ee3b0276bda0b42147c4b7487f60c0d5;hb=cb11b0028323b24de48bfbab2ed576455e0d9465;hpb=6b1e55213d76a67e9aa3d9f1e4dcb55e0bbf12ee diff --git a/ajax.php b/ajax.php index f0a04892ee..73b3d8f191 100644 --- a/ajax.php +++ b/ajax.php @@ -10,13 +10,8 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : AJAX-Abfragescript * * -------------------------------------------------------------------- * - * $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,8 +48,8 @@ $GLOBALS['__module'] = 'ajax'; $GLOBALS['__header_sent'] = 2; $GLOBALS['__footer_sent'] = 2; -// Load config file -require('inc/config-global.php'); +// Initialize application +require('inc/init.php'); // Load special AJAX library loadIncludeOnce('inc/ajax-functions.php'); @@ -63,7 +58,7 @@ loadIncludeOnce('inc/ajax-functions.php'); initAjax(); // Load header here -loadIncludeOnce('inc/header.php'); +loadPageHeader(); // Process only POST requests and that at least 'level' is set if ((getHttpRequestMethod() == 'POST') && (isPostRequestElementSet('level'))) { @@ -84,7 +79,7 @@ if ((getHttpRequestMethod() == 'POST') && (isPostRequestElementSet('level'))) { } // END - if // Footer -loadIncludeOnce('inc/footer.php'); +loadPageFooter(); // [EOF] ?>