[ic] __DOCROOT__ value in UserTag ?

Andy Mayer interchange-users@icdevgroup.org
Thu Apr 17 12:31:00 2003


Hi, 

Does anybody know how to access the value of __DOCROOT__ in a UserTag?

I always get the error below:

Bareword "__DOCROOT__" not allowed while "strict subs" in use at (eval
272) line 9, <CONFIG> line 26.

Also, it doesn't get interpolated if I try:

UserTag gui_series_icon Interpolate
UserTag gui_series_icon  Order  series
UserTag gui_series_icon Routine <<EOF
sub {
        my ($series,$input) = @_;
        $series = " NAME=$series" if $series;
        my ($series_tag, $series_value)= split(/=/, $series);
        my $return = "__DOC_ROOT__";
        return $return;
}
EOF

Thanks,

Andy