/[drupal]/contributions/modules/porterstemmer/porterstemmer.test
ViewVC logotype

Diff of /contributions/modules/porterstemmer/porterstemmer.test

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

revision 1.1.2.3, Wed Oct 21 23:39:54 2009 UTC revision 1.1.2.4, Wed Oct 21 23:47:22 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: porterstemmer.test,v 1.1.2.2 2009/10/14 19:00:04 jhodgdon Exp $  // $Id: porterstemmer.test,v 1.1.2.3 2009/10/21 23:39:54 jhodgdon Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 31  class PorterStemmerOutput1UnitTest exten Line 31  class PorterStemmerOutput1UnitTest exten
31      // See if the PECL stemming library is installed      // See if the PECL stemming library is installed
32    
33      $this->has_pecl_stem = FALSE;      $this->has_pecl_stem = FALSE;
34    
35      if (extension_loaded( 'stem')) {      if (extension_loaded( 'stem')) {
36        $this->has_pecl_stem = TRUE;        $this->has_pecl_stem = TRUE;
37      }      }
# Line 43  class PorterStemmerOutput1UnitTest exten Line 43  class PorterStemmerOutput1UnitTest exten
43        }        }
44      }      }
45    
46      $this->has_pecl_stem = $this->has_pecl_stem &&      $this->has_pecl_stem = $this->has_pecl_stem &&
47        function_exists('stem_english');        function_exists('stem_english');
48    
49    }    }

Legend:
Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.4

  ViewVC Help
Powered by ViewVC 1.1.2