cvs: phpdoc /scripts entities.php
| From: | Gabor Hojtsy | Date: | Sat, 16 Nov 2002 10:01:22 +0000 |
| Subject: | cvs: phpdoc /scripts entities.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969349714@lists.php.net to get a copy of this message | ||
goba Sat Nov 16 05:01:22 2002 EDT
Modified files:
/phpdoc/scripts entities.php
Log:
Adding skip check for functions directory
Index: phpdoc/scripts/entities.php
diff -u phpdoc/scripts/entities.php:1.5 phpdoc/scripts/entities.php:1.6
--- phpdoc/scripts/entities.php:1.5 Sun Jan 6 10:42:31 2002
+++ phpdoc/scripts/entities.php Sat Nov 16 05:01:22 2002
@@ -93,6 +93,13 @@
$directories = array();
$files = array();
+ // Skip old and unused functions directories (theoretically
+ // it should only be in the English tree, but we are smart
+ // and check for other language trees too...)
+ if (preg_match("!([a-z]{2}|pt_BR)/functions!", $dir)) {
+ return;
+ }
+
// Open and traverse the directory
$handle = @opendir($dir);
while ($file = @readdir($handle)) {