X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fjs%2Fjs-install_ajax.php;h=678a65920f364d38d624eb3799c973c26fda1cc4;hp=39c54a66c49de074753f167b2819043402450b43;hb=61621983cc6d7195fcc7eab29b5f6080ff283b34;hpb=63f159414369b5ea19a8ca75d8cd8033c45d8341 diff --git a/inc/js/js-install_ajax.php b/inc/js/js-install_ajax.php index 39c54a66c4..678a65920f 100644 --- a/inc/js/js-install_ajax.php +++ b/inc/js/js-install_ajax.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2012 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 * @@ -38,7 +38,7 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif (!isInstallationPhase()) { +} elseif ((!isInstaller()) || (!isGetRequestElementSet('install_page'))) { return; } @@ -48,7 +48,7 @@ $content = array( ); // Simply load the JavaScript here -loadTemplate('js_install_ajax', false, $content); +loadTemplate('js_install_ajax', FALSE, $content); // [EOF] ?>