[Bio] / FigKernelPackages / Tracer.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/Tracer.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.63, Thu Aug 24 21:18:56 2006 UTC revision 1.64, Thu Sep 14 23:06:00 2006 UTC
# Line 32  Line 32 
32      use File::Path;      use File::Path;
33      use File::stat;      use File::stat;
34      use LWP::UserAgent;      use LWP::UserAgent;
35        use Time::HiRes 'gettimeofday';
36    
37  =head1 Tracing and Debugging Helpers  =head1 Tracing and Debugging Helpers
38    
# Line 2001  Line 2002 
2002      # Check for a template file situation.      # Check for a template file situation.
2003      my $outputString;      my $outputString;
2004      if (defined $varHash) {      if (defined $varHash) {
2005          # Here we have a template file. We need to apply the variables to the template.          # Here we have a template file. We need to determine the template type.
2006          $outputString = PageBuilder::Build("<<$webData", $varHash, "Html");          my $template;
2007            if ($FIG_Config::template_url && $webData =~ /\.php$/) {
2008                $template = "$FIG_Config::template_url/$webData";
2009            } else {
2010                $template = "<<$webData";
2011            }
2012            $outputString = PageBuilder::Build($template, $varHash, "Html");
2013      } else {      } else {
2014          # Here the user gave us a raw string.          # Here the user gave us a raw string.
2015          $outputString = $webData;          $outputString = $webData;
# Line 2391  Line 2398 
2398      return ($inserted, $deleted);      return ($inserted, $deleted);
2399  }  }
2400    
   
2401  1;  1;

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.64

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3