]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/rewrite_functions.php
Language id renamed, some network query amounts added
[mailer.git] / inc / libs / rewrite_functions.php
index a36cbbfe968435d81cb560a2234cdd8ac0aea40e..23ff4bfd00c30d4d083d67686d28c6f59e30a13d 100644 (file)
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -44,8 +42,10 @@ if (!defined('__SECURITY')) {
 
 // Rewrite links in HTML for better SEO (ugly part of mx!)
 function rewriteLinksInCode ($code) {
-       // Skip rewriting for configured modules
-       if (isInStringIgnoreCase(getModule(), getConfig('rewrite_skip')) !== false) return $code;
+       // Skip rewriting for configured or empty modules
+       if ((getModule() == '') || (isInStringIgnoreCase(getModule(), getConfig('rewrite_skip')) !== false)) {
+               return $code;
+       } // END - if
 
        // Generate target URL
        $target = getUrl() . '/cms/';