X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-payout.php;h=dfaf38b4b9ffc2d23648278d62c6bc71373735c4;hp=f886cff072318e9e4ddd941826a510d2e500935e;hb=963e55ca1ea79e255f235e359cde9f7862191dc5;hpb=e8a44f28a734e4796b70a1bc9df353f2466e1846
diff --git a/inc/extensions/ext-payout.php b/inc/extensions/ext-payout.php
index f886cff072..dfaf38b4b9 100644
--- a/inc/extensions/ext-payout.php
+++ b/inc/extensions/ext-payout.php
@@ -32,8 +32,7 @@
************************************************************************/
// Some security stuff...
-if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
-{
+if (!defined('__SECURITY')) {
$INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}
@@ -167,7 +166,7 @@ case "update": // Update an extension
case "0.2.5": // SQL queries for v0.2.5
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Seit Patch 340 überflüssige HTML-Tags entfernt.";
+ $UPDATE_NOTES = "Seit Patch 340 überflüssige HTML-Tags entfernt.";
break;
case "0.2.6": // SQL queries for v0.2.6