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

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


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

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

- Log -----------------------------------------------------------------
commit 8c07aaac4bbb832493506c8d351cd25244ba405e
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Mar 3 01:41:19 2011 -0500

    No nee to specify "from a web request"

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

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


More information about the Rt-commit mailing list