vrana           Mon Mar  1 08:41:04 2004 EDT

  Modified files:              
    /phpdoc/scripts/quickref    makefunclist.php 
  Log:
  fnmatch() is not available on Windows
  
http://cvs.php.net/diff.php/phpdoc/scripts/quickref/makefunclist.php?r1=1.4&r2=1.5&ty=u
Index: phpdoc/scripts/quickref/makefunclist.php
diff -u phpdoc/scripts/quickref/makefunclist.php:1.4 
phpdoc/scripts/quickref/makefunclist.php:1.5
--- phpdoc/scripts/quickref/makefunclist.php:1.4        Wed Dec 31 19:35:41 2003
+++ phpdoc/scripts/quickref/makefunclist.php    Mon Mar  1 08:41:04 2004
@@ -17,7 +17,7 @@
   |             Gabor Hojtsy <[EMAIL PROTECTED]>                              |
   +----------------------------------------------------------------------+
   
-  $Id: makefunclist.php,v 1.4 2004/01/01 00:35:41 goba Exp $
+  $Id: makefunclist.php,v 1.5 2004/03/01 13:41:04 vrana Exp $
 */
 
 $XML_REF_ROOT = "../../en/reference/";
@@ -41,7 +41,7 @@
     global $FUNCTIONS;
     if ($dh = @opendir($dir . "/functions")) {
         while (($file = readdir($dh)) !== FALSE) {
-            if (fnmatch("*.xml", $file)) {
+            if (ereg("\\.xml\$", $file)) {
                 $FUNCTIONS[] = str_replace(array(".xml", "-"), array("", "_"), $file);
             }
         }

Reply via email to