Changeset 183


Ignore:
Timestamp:
Nov 5, 2010, 3:38:55 PM (6 years ago)
Author:
david.vanenckevort@…
Message:

Fix empty context

File:
1 edited

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       
Note: See TracChangeset for help on using the changeset viewer.