Internal TODO closed (sry for second commit)
[mailer.git] / lead-confirm.php
index cc81336563276dc7f413eb87cc5dfafec2ac015d..1fb03bf8ab260fc88129a322cf131a0983e69ba6 100644 (file)
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require("inc/libs/security_functions.php");
+require('inc/libs/security_functions.php');
 
 // Init "action" and "what"
 $GLOBALS['startTime'] = microtime(true);
-$GLOBALS['what'] = "";
-$GLOBALS['action'] = "";
+$GLOBALS['what'] = '';
+$GLOBALS['action'] = '';
 
 // Set module
-$GLOBALS['module'] = "lead-confirm";
+$GLOBALS['module'] = 'lead-confirm';
 
 // Set "CSS-Mode"
-$GLOBALS['output_mode'] = "0";
+$GLOBALS['output_mode'] = '0';
 
 // Load config.php
-require("inc/config.php");
+require('inc/config.php');
 
 // Is the script installed?
 if (isInstalled()) {
        // Header
-       LOAD_INC("inc/header.php");
+       LOAD_INC('inc/header.php');
 
        // Initialize the array for the template
        $content = array(
                'lead_uid'   => -1,
-               'lead_email' => "INVALID@EMAIL"
+               'lead_email' => 'INVALID@EMAIL'
        );
 
        // Is the cookie set?
@@ -88,13 +88,13 @@ if (isInstalled()) {
        }
 
        // Load the lead template
-       LOAD_TEMPLATE("lead_code", false, $content);
+       LOAD_TEMPLATE('lead_code', false, $content);
 
        // Footer
-       LOAD_INC("inc/footer.php");
+       LOAD_INC('inc/footer.php');
 } else {
        // You have to install first!
-       LOAD_URL("install.php");
+       LOAD_URL('install.php');
 }
 
 // All done here...