]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/rewrite_functions.php
Opps, not all elements for sprintf() has been set.
[mailer.git] / inc / libs / rewrite_functions.php
index 23ff4bfd00c30d4d083d67686d28c6f59e30a13d..bf940e2abd47dd4fabd05de3f14a760506f4816e 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -43,7 +43,7 @@ if (!defined('__SECURITY')) {
 // Rewrite links in HTML for better SEO (ugly part of mx!)
 function rewriteLinksInCode ($code) {
        // Skip rewriting for configured or empty modules
-       if ((getModule() == '') || (isInStringIgnoreCase(getModule(), getConfig('rewrite_skip')) !== false)) {
+       if ((getModule() == '') || (isInStringIgnoreCase(getModule(), getConfig('rewrite_skip')) !== FALSE)) {
                return $code;
        } // END - if
 
@@ -55,7 +55,7 @@ function rewriteLinksInCode ($code) {
                $code = str_replace($rewrite . '/modules.php?module=', $target, $code);
        } // END - foreach
 
-       // Do we have an URL linked to mxchange.org?
+       // Is there an URL linked to mxchange.org?
        if (isInStringIgnoreCase(getServerUrl(), $code)) {
                // Convert URLs from my server
                $code = str_replace('{?URL?}/modules.php?module=', getServerUrl() . '/cms/', $code);