cvs: phpdoc /scripts/quickref makefunclist.php

From: Date: Mon, 01 Mar 2004 13:41:04 +0000
Subject: cvs: phpdoc /scripts/quickref makefunclist.php
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969359321@lists.php.net to get a copy of this message
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 <goba@php.net> | +----------------------------------------------------------------------+ - $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); } }

« previous php.doc (#969359321) next »