/[drupal]/contributions/modules/flexinode/flexinode.module
ViewVC logotype

Diff of /contributions/modules/flexinode/flexinode.module

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

revision 1.77.2.5, Sun Feb 4 18:35:35 2007 UTC revision 1.77.2.6, Tue Feb 6 08:37:54 2007 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: flexinode.module,v 1.77.2.4 2007/02/04 18:29:01 ber Exp $  // $Id: flexinode.module,v 1.77.2.5 2007/02/04 18:35:35 ber Exp $
3    
4  // Copyright 2003-2004 Jonathan Chaffer. See LICENSE for redistribution allowances.  // Copyright 2003-2004 Jonathan Chaffer. See LICENSE for redistribution allowances.
5    
# Line 12  function flexinode_field_types() { Line 12  function flexinode_field_types() {
12    if (!isset($types)) {    if (!isset($types)) {
13      $types = array();      $types = array();
14      $path = drupal_get_path('module', 'flexinode');      $path = drupal_get_path('module', 'flexinode');
15      $files = file_scan_directory($path, '^field_.*\.inc$');      $files = file_scan_directory($path, '^field_.*\.inc$', array('.', '..', 'CVS'), 0, FALSE);
16      foreach ($files as $filename => $file) {      foreach ($files as $filename => $file) {
17        include_once($filename);        include_once($filename);
18        $function = 'flexinode_'. $file->name .'_name';        $function = 'flexinode_'. $file->name .'_name';

Legend:
Removed from v.1.77.2.5  
changed lines
  Added in v.1.77.2.6

  ViewVC Help
Powered by ViewVC 1.1.2