]> git.mxchange.org Git - mailer.git/commitdiff
Fix for ticket #86, thx 2 profi-concept :)
authorRoland Häder <roland@mxchange.org>
Fri, 20 Feb 2009 01:57:55 +0000 (01:57 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 20 Feb 2009 01:57:55 +0000 (01:57 +0000)
25 files changed:
admin.php
agb.php
beg.php
birthday_confirm.php
click.php
confirm.php
css.php
debug.php
doubler.php
img.php
inc/config.php
index.php
install.php
js.php
lead-confirm.php
login.php
mailid.php
mailid_top.php
modules.php
ref.php
show_bonus.php
sponsor_confirm.php
sponsor_ref.php
surfbar.php
view.php

index ef2153f0086467c10a2428ebfa66de16b14ed4d1..f4c3d824cfb4394fd3f2aed13f8af644127a743b 100644 (file)
--- a/admin.php
+++ b/admin.php
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -44,7 +44,7 @@ $GLOBALS['module'] = "admin";
 $CSS = -1;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Is the script installed?
 if (isBooleanConstantAndTrue('mxchange_installed')) {
diff --git a/agb.php b/agb.php
index 9e82d2d8b65da0bc7a402b2fa1da67e5ec210309..c44da3e8c997f0a9b4936aca6597f1faa0f4119a 100644 (file)
--- a/agb.php
+++ b/agb.php
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -42,7 +42,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $GLOBALS['module'] = "agb"; $CSS = -1;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Is the script installed?
 if (isBooleanConstantAndTrue('mxchange_installed')) {
diff --git a/beg.php b/beg.php
index 2f99b68a26c01694ae45c849469edc5c0d124358..123ff8054fe87e51bf0dfbd2c96d2fece20b44ec 100644 (file)
--- a/beg.php
+++ b/beg.php
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action, $startTime;
@@ -46,7 +46,7 @@ $CSS = -1;
 $msg = null;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Is the "beg" extension active?
 if (!EXT_IS_ACTIVE("beg")) {
index d33f8dc73b0bbdebfb092e905b679e370dffa4e5..f6f17c746d0fc50f9a85ddc8dd3255acace51853 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -42,7 +42,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $GLOBALS['module'] = "birthday_confirm"; $CSS = -1;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Is the "birthday" extension active?
 if (!EXT_IS_ACTIVE("birthday")) {
index 1f7398fba15b92a14e8c75f11fed0a5cefb599d0..94d68602c7d97420e0f240dc2a875a85a1a311c8 100644 (file)
--- a/click.php
+++ b/click.php
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -42,7 +42,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $GLOBALS['module'] = "click"; $CSS = -1;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 if (((!empty($_GET['user'])) || (!empty($_GET['reseller']))) && (!empty($_GET['banner']))) {
        // Update clicks counter...
index a86970d13f82799d535b75f573bbaf9028185890..ef0b7d9169d4faeadaf1cbc5bc7e3163558117cc 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -42,7 +42,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $GLOBALS['module'] = "confirm"; $CSS = -1;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Is the script installed?
 if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered'))) {
diff --git a/css.php b/css.php
index 1496f788b10b41e00fd157a750704000b80dd5f1..9e73bd618a847d057ae32873d6035a305c9136bd 100644 (file)
--- a/css.php
+++ b/css.php
@@ -35,7 +35,7 @@
 define('_OB_CACHING', "old");
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action, $footer;
@@ -55,7 +55,7 @@ $GLOBALS['module'] = "css";
 header("Content-type: text/css");
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Load header
 LOAD_INC_ONCE("inc/header.php");
index f08058f0d9b0508380728717029c910b23bf15c5..492fe3654853b49f4263a68d133f4a1c7e6e8c4a 100644 (file)
--- a/debug.php
+++ b/debug.php
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -43,7 +43,7 @@ $GLOBALS['action'] = "";
 $GLOBALS['module'] = "debug"; $CSS = -1;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Redirect only to registration page when this script is installed
 if ((isBooleanConstantAndTrue('mxchange_installed')) && (getTotalFatalErrors() == 0)) {
index 2b0d5c6dd7f262e0ca038f3cdc805fc155d9cc52..869e3da1e507dfc2e1251e50fa8c79ff36bb829d 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action, $startTime;
@@ -46,7 +46,7 @@ $GLOBALS['refid'] = 0;
 $CSS = 0;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Is the "doubler" extension active?
 if (!EXT_IS_ACTIVE("doubler")) {
diff --git a/img.php b/img.php
index b6e1636eeece57e07885b755f4b1c50f28cb727c..e619db6b3c4fe1325ba9fa416c0c5716626d6eb4 100644 (file)
--- a/img.php
+++ b/img.php
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -42,7 +42,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $GLOBALS['module'] = "img"; $CSS = -1;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Script installed?
 if (isBooleanConstantAndTrue('mxchange_installed')) {
index c645e2e263cf3a6d8935606b22bd1980f5097f87..5e6307bbd6ca4e426b69bab8c022228a141715c5 100644 (file)
@@ -162,7 +162,7 @@ define('SSL_COOKIES', false);
 define('ENABLE_BACKLINK', true);
 
 // Connect to the MySQL database...
-LOAD_INC_ONCE("inc/mysql-connect.php");
+require(PATH."inc/mysql-connect.php");
 
 //
 ?>
index fc1220d82995f79ef09d1c2f335d9ee7e41dc342..9142d90b424af8d7cca30c3472d5211e43c28302 100644 (file)
--- a/index.php
+++ b/index.php
@@ -33,7 +33,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -43,7 +43,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $GLOBALS['module'] = "index";
 
 // Load config.php
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Is the script installed?
 if (isBooleanConstantAndTrue('mxchange_installed')) {
index b6f2416d36315c62db112e7984b0c574303ea633..213a6485eaf7401f7435ad2389d25e90ee8cc821 100644 (file)
@@ -45,7 +45,7 @@
 define('mxchange_installing', true);
 
 // Load security system
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -59,7 +59,7 @@ $CSS = 0;
 $GLOBALS['module'] = "install";
 
 // Load config file
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Header
 LOAD_INC("inc/header.php");
diff --git a/js.php b/js.php
index d5598fb1a7e404a4cfe4ee462b0872e09451c513..73f04b5a02af12f4fc2c0cdb0598cb6d8dfe5e0d 100644 (file)
--- a/js.php
+++ b/js.php
@@ -35,7 +35,7 @@
 define('_OB_CACHING', "old");
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -51,7 +51,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $CSS = "1"; $GLOBALS['module'] = "js";
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Is this script installed and a JavaScript tag is provied?
 if ((isBooleanConstantAndTrue('mxchange_installed')) && (isset($_GET['tag']))) {
index ae918709371da750ffa0b7b1bf38be1372c568f0..25662f7b5f09b42ab2f89ed6ded5eb805916fbf6 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action, $startTime;
@@ -43,7 +43,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $GLOBALS['module'] = "lead-confirm";
 
 // Load config.php
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Is the script installed?
 if (isBooleanConstantAndTrue('mxchange_installed')) {
index 3d9dab567bc267788eefe9b48b0bd308c10d3278..d1eaf6c640eeaa3d641c22a291045d87113912ff 100644 (file)
--- a/login.php
+++ b/login.php
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -42,7 +42,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $GLOBALS['module'] = "login";
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Is the script installed?
 if (isBooleanConstantAndTrue('mxchange_installed')) {
index d1bae743d07eda8393ac191dcb1d2ff5581e6847..5a33578dea7c3db9ff156e507018b0f8a8e60a87 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -42,7 +42,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $GLOBALS['module'] = "mailid"; $CSS = -1;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 if (isBooleanConstantAndTrue('mxchange_installed')) {
        // Is the extension active
index 513b898ab6c9d7540d0ac2d2047cb7f36cf70d54..cf0ec430c2162794333a642b0241cdcb3bc7e759 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -42,7 +42,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $GLOBALS['module'] = "mailid";  $CSS = 0;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 if (isBooleanConstantAndTrue('mxchange_installed')) {
        // Is the extension active
index c862671e537600364e013c03b91ca14b8095284d..bee4beae2c00a70d0f97698017f0e3292245c17d 100644 (file)
@@ -35,7 +35,7 @@
 //xdebug_start_trace();
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action, $startTime;
@@ -55,7 +55,7 @@ if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);
 $GLOBALS['module'] = secureString($_GET['module']);
 
 // Needed include files
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Check if logged in
 if (IS_MEMBER()) {
diff --git a/ref.php b/ref.php
index ef79784df3ed57ca756e500a41f97606d3b51cfe..918e2ef68de13d86b8d7c92c00d8cdc4cd8d5d27 100644 (file)
--- a/ref.php
+++ b/ref.php
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -42,7 +42,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $GLOBALS['module'] = "ref"; $CSS = -1;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Redirect only to registration page when this script is installed
 if (isBooleanConstantAndTrue('mxchange_installed')) {
index e614d11aab74198d4988b974003ff6776048a8da..2987ae3f11fa6ff0250d3f660491ae6e15e20037 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action, $startTime;
@@ -44,7 +44,7 @@ $GLOBALS['action'] = "";
 $GLOBALS['module'] = "show_bonus"; $CSS = 0;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Is the "bonus" extension active?
 if (!EXT_IS_ACTIVE("bonus")) {
index d849c935c257997d09dc8283800f8bd1e985cb06..8d0b535ae905b3eb36530c371fab8a50bc2a53f3 100644 (file)
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Is the script installed?
 if (isBooleanConstantAndTrue('mxchange_installed')) {
index e6326473af6798e87ae9030851126d786cd47b7b..30617e362965b856000949b0bb285353ba218764 100644 (file)
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Redirect only to registration page when this script is installed
 if (defined('mxchange_installed') && (isBooleanConstantAndTrue(mxchange_installed))) {
index 07d22fb273a4f31c1e175fcd13d128d1963a49af..6b458b247a23b36119fb92829e20fd87a7258b02 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action, $startTime, $SURFBAR_CACHE;
@@ -47,7 +47,7 @@ $CSS = 0;
 $msg = null;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 // Is the script installed?
 if (isBooleanConstantAndTrue('mxchange_installed')) {
index 034483213f71cc2b1f64f12ee3babe9650026651..8c94dae7eac6b2da5ddeab1b7d4d25b10f3a081b 100644 (file)
--- a/view.php
+++ b/view.php
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require_once("inc/libs/security_functions.php");
+require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
 global $what, $action;
@@ -42,7 +42,7 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = "";
 $GLOBALS['module'] = "view"; $CSS = -1;
 
 // Load the required file(s)
-require_once("inc/config.php");
+require("inc/config.php");
 
 if (((!empty($_GET['user'])) || (!empty($_GET['reseller']))) && (!empty($_GET['banner']))) {
        // Count banner view... we currently don't need the user's id but maybe