Changeset 183

Show
Ignore:
Timestamp:
05-11-10 15:38:55 (3 years ago)
Author:
david.vanenckevort@…
Message:

Fix empty context

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/main/core/lib/perl/fgweb/var.pm

    r181 r183  
    117117                } 
    118118                $config->{'url'}->{'site'} = $protocol.'://'.$ENV{'SERVER_ADDR'}.':'.$ENV{'SERVER_PORT'}; 
     119        } 
     120        if (!defined $config->{'url'}->{'context'}) { 
     121                $config->{'url'}->{'context'} = '/'; 
    119122        } 
    120123