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)) {



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to