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

Shawn Moore sartak at bestpractical.com
Thu Mar 3 01:41:57 EST 2011


The branch, 4.0/sanity-check-url-config has been updated
       via  9a21d6831ca5319f10596b8b14194d881167bca5 (commit)
      from  8c07aaac4bbb832493506c8d351cd25244ba405e (commit)

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

- Log -----------------------------------------------------------------
commit 9a21d6831ca5319f10596b8b14194d881167bca5
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Mar 3 01:41:49 2011 -0500

    Fix log message to use the right variable

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 14962c3..b8985d5 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -1018,7 +1018,7 @@ sub ValidateWebConfig {
     }
 
     if ($ENV{SERVER_NAME} ne RT->Config->Get('WebDomain')) {
-        $RT::Logger->warn("The SERVER_NAME environment variable ($ENV{SERVER_PORT}) does NOT match the configured WebDomain ($RT::WebDomain)");
+        $RT::Logger->warn("The SERVER_NAME environment variable ($ENV{SERVER_NAME}) does NOT match the configured WebDomain ($RT::WebDomain)");
     }
 
     if ($ENV{PATH_INFO} !~ /^\Q$RT::WebPath\E/) {

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


More information about the Rt-commit mailing list