[Rt-commit] rt branch, 4.0/sanity-check-url-config, updated. rt-3.9.7-1147-g07ee408

Shawn Moore sartak at bestpractical.com
Thu Mar 3 02:15:00 EST 2011


The branch, 4.0/sanity-check-url-config has been updated
       via  07ee408ad96bd427ecb0bbcdade82ce7e3bb43d7 (commit)
      from  c800c1498b983994a64c262229a321f282143f30 (commit)

Summary of changes:
 lib/RT/Interface/Web.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 07ee408ad96bd427ecb0bbcdade82ce7e3bb43d7
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Mar 3 02:14:54 2011 -0500

    We don't use $host in this branch

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 769217d..fafd2e9 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -1027,7 +1027,7 @@ sub ValidateWebConfig {
     }
     else {
         if ($ENV{SERVER_NAME} ne RT->Config->Get('WebDomain')) {
-            $RT::Logger->warn("The actual SERVER_NAME ($ENV{SERVER_NAME}) does NOT match the configured WebDomain ($RT::WebDomain). Perhaps you should Set(\$WebDomain, '$host') in RT_SiteConfig.pm, otherwise your internal links may be broken.");
+            $RT::Logger->warn("The actual SERVER_NAME ($ENV{SERVER_NAME}) does NOT match the configured WebDomain ($RT::WebDomain). Perhaps you should Set(\$WebDomain, '$ENV{SERVER_NAME}') in RT_SiteConfig.pm, otherwise your internal links may be broken.");
         }
     }
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list