XHTML fixes (not fully valid)
[mailer.git] / install.php
index ca7e6335e137360177254e8bbdb9be1c426a728d..3e394cc273f208739f3c670c590ec3651ee22c28 100644 (file)
@@ -46,7 +46,7 @@
  ************************************************************************/
 
 // Tell every module / include file we are installing
  ************************************************************************/
 
 // Tell every module / include file we are installing
-define ('mxchange_installing', true);
+define('mxchange_installing', true);
 
 // Load security system
 require ("inc/libs/security_functions.php");
 
 // Load security system
 require ("inc/libs/security_functions.php");
@@ -71,7 +71,7 @@ if (!isset($_GET['page']))
 }
 
 // Already installed?
 }
 
 // Already installed?
-if ((mxchange_installed) && (admin_registered)) {
+if ((isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered'))) {
        // Add fatal message
        ADD_FATAL(ALREADY_INSTALLED);
 }
        // Add fatal message
        ADD_FATAL(ALREADY_INSTALLED);
 }