]> git.mxchange.org Git - mailer.git/blobdiff - sponsor_confirm.php
Notice added to always include debug.log in your full bug report
[mailer.git] / sponsor_confirm.php
index a93348c753e9c177b69b682a8f2269462adb603e..59f734fcfe3bfc2caeabad029d306db2f3de23c8 100644 (file)
@@ -35,7 +35,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"
@@ -49,7 +49,7 @@ $GLOBALS['module'] = 'sponsor_confirm';
 $GLOBALS['output_mode'] = '0';
 
 // Load the required file(s)
-require('inc/config.php');
+require('inc/config-global.php');
 
 // Is the script installed?
 if (isInstalled()) {
@@ -64,10 +64,10 @@ if (isInstalled()) {
        }
 
        // 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... ;-)