Removed 2nd parameter for assert() as this is only available in PHP 5.4.8+ but Mailer...
[mailer.git] / install.php
index 6b6c5d6957477d85f83abcb1f00b32b828f82bbc..44559e8996c18575855e1465f0f924df3eee409f 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
 require('inc/libs/security_functions.php');
 
 // Init start time
-$GLOBALS['__start_time'] = microtime(true);
+$GLOBALS['__start_time'] = microtime(TRUE);
 
 // Tell every module / require file we are installing
-$GLOBALS['__mailer_installing'] = true;
+$GLOBALS['__mailer_installing'] = TRUE;
 
 // Set module and output mode
 $GLOBALS['__module']      = 'install';
@@ -78,7 +78,7 @@ loadIncludeOnce('inc/header.php');
 // Handle fatal errors
 runFilterChain('handle_fatal_errors');
 
-// Do we have plain or AJAX-enabled installation?
+// Is plain or AJAX-enabled installation used?
 if (isGetRequestElementSet('installer')) {
        // Set installer type
        setSession('installer', getRequestElement('installer'));
@@ -96,7 +96,7 @@ if (isGetRequestElementSet('installer')) {
        );
 
        // Load main installation table
-       loadTemplate('install_main_ajax', false, $content);
+       loadTemplate('install_main_ajax', FALSE, $content);
 } elseif (isPlainInstaller()) {
        // Plain installer:
        // Load include file