]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-newsletter.php
More globals rewritten, see #100
[mailer.git] / inc / extensions / ext-newsletter.php
index e0132cf33226da2109b922a0445f2f6a9e772891..5d741c6ce53484faa951971ff3d814a288002293 100644 (file)
@@ -152,8 +152,7 @@ default: // Do stuff when extension is loaded
        // URL ends which are used to indentify the end of an URL or email link
        // Don't use these chars in links... ;-)
        //
-       global $URL_ENDS, $VALID_EMAIL_CHARS;
-       $URL_ENDS = array(
+       $GLOBALS['url_ends'] = array(
                " ",
                "\n",
                "\r",
@@ -161,7 +160,7 @@ default: // Do stuff when extension is loaded
        );
 
        // Valid email chars (without @, or do you want to have another @ inside your email addy?)
-       $VALID_EMAIL_CHARS = array(
+       $GLOBALS['valid_email_chars'] = array(
                'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s',
                't','u','v','w','x','y','z','a','B','C','D','E','F','G','H','I','J','K','L',
                'M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','-','.','_','0','1',