]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-mydata.php
Security line in all includes changed
[mailer.git] / inc / extensions / ext-mydata.php
index 7d3234322e81a712cb908a71a6f56c7cbc85a53e..0eaf6a219123af6634a56993ad3997faa20826a2 100644 (file)
@@ -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);
 }
@@ -104,7 +103,7 @@ case "update": // Update an extension
 
        case "0.0.8": // SQL queries for v0.0.8
                // Update notes (these will be set as task text!)
-               $UPDATE_NOTES = "Seit <A href=\"".SERVER_URL."/patches/340-Gast_Mitgliedsmenue_Deaktivieren.zip\">Patch 340</A> &uuml;berfl&uuml;ssige HTML-Tags entfernt.";
+               $UPDATE_NOTES = "Seit <A href=\"#\">Patch 340</A> &uuml;berfl&uuml;ssige HTML-Tags entfernt.";
                break;
 
        case "0.0.9": // SQL queries for v0.0.9
@@ -171,7 +170,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "mydata";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = 'N';
+$EXT_ALWAYS_ACTIVE = "N";
 
 //
 ?>