xml-axkit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jw...@apache.org
Subject cvs commit: xml-axkit/lib/Apache/AxKit/Language XSP.pm
Date Fri, 31 Oct 2003 17:04:47 GMT
jwalt       2003/10/31 09:04:47

  Modified:    lib/Apache/AxKit/Language XSP.pm
  Log:
  - fixed a bug with on-disk caching of parsed XSP code ("Can't locate method cache_params
...")
  
  Revision  Changes    Path
  1.52      +2 -2      xml-axkit/lib/Apache/AxKit/Language/XSP.pm
  
  Index: XSP.pm
  ===================================================================
  RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/Language/XSP.pm,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- XSP.pm	3 Oct 2003 18:38:38 -0000	1.51
  +++ XSP.pm	31 Oct 2003 17:04:46 -0000	1.52
  @@ -106,7 +106,7 @@
               {
                   # cached
                   AxKit::Debug(5, 'XSP: xsp script cached in memory');
  -            } elsif (!$xml->has_changed($xcache->mtime())) {
  +            } elsif ($xcache->exists && !$xml->has_changed($xcache->mtime()))
{
                   AxKit::Debug(5, 'XSP: xsp script cached on disk');
                   $to_eval = $xcache->read('utf8');
                   $cache->{$key}{mtime} = $mtime;
  
  
  

Mime
View raw message