Notice added to always include debug.log in your full bug report
[mailer.git] / confirm.php
index 3ca3a5e3be0e1309f87b7b9c349f6bad1bc09208..96f75782085ba71f3ce113b23e1c09e3b09370ae 100644 (file)
@@ -36,7 +36,7 @@
  * MA  02110-1301  USA                                                  *
  ************************************************************************/
 
-// Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
+// Load security stuff here
 require('inc/libs/security_functions.php');
 
 // Init "action" and "what"
@@ -48,7 +48,7 @@ $GLOBALS['module'] = 'confirm';
 $GLOBALS['output_mode'] = -1;
 
 // Load the required file(s)
-require('inc/config.php');
+require('inc/config-global.php');
 
 // Is the script installed?
 if ((isInstalled()) && (isAdminRegistered())) {
@@ -63,10 +63,10 @@ if ((isInstalled()) && (isAdminRegistered())) {
        }
 
        // Load the URL
-       LOAD_URL($URL);
+       redirectToUrl($URL);
 } else {
        // You have to install first!
-       LOAD_URL('install.php');
+       redirectToUrl('install.php');
 }
 
 // Really all done here... ;-)