]> git.mxchange.org Git - mailer.git/blobdiff - ajax.php
If rebuildCache() is being called e.g. in view.php ('raw mode') then no cache is...
[mailer.git] / ajax.php
index 8ef804fb8f6e2cf56ae54b11781e5833d1f611c2..f6c06483392262583de762d78b0bae666892a39d 100644 (file)
--- a/ajax.php
+++ b/ajax.php
@@ -42,7 +42,7 @@
 require('inc/libs/security_functions.php');
 
 // Init start time
-$GLOBALS['__start_time'] = microtime(true);
+$GLOBALS['__start_time'] = microtime(TRUE);
 
 /*
  * Set output to "AJAX mode", proper module and prevent HTML headers/footers
@@ -72,7 +72,7 @@ if ((getHttpRequestMethod() == 'POST') && (isPostRequestElementSet('level'))) {
                // Process the request
                processAjaxRequest();
 
-               // Do we have an error? ('200 OK' is fine)
+               // Is there an error? ('200 OK' is fine)
                if ((getHttpStatus() != '200 OK') && (getHttpStatus() != '404 NOT FOUND')) {
                        // The process was handled but didn't work
                        reportBug(__FUNCTION__, __LINE__, 'AJAX request is valid but does not do anything.');