diff includes/file.inc @ 11:589fb7c02327 6.5

Drupal 6.5
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Dec 2008 14:32:19 +0100
parents acef7ccb09b5
children 8b6c45761e01
line wrap: on
line diff
--- a/includes/file.inc	Tue Dec 23 14:32:08 2008 +0100
+++ b/includes/file.inc	Tue Dec 23 14:32:19 2008 +0100
@@ -1,5 +1,5 @@
 <?php
-// $Id: file.inc,v 1.121.2.3 2008/08/13 23:59:12 drumm Exp $
+// $Id: file.inc,v 1.121.2.4 2008/09/17 08:13:07 goba Exp $
 
 /**
  * @file
@@ -884,7 +884,7 @@
   $files = array();
 
   if (is_dir($dir) && $handle = opendir($dir)) {
-    while (false !== ($file = readdir($handle))) {
+    while (FALSE !== ($file = readdir($handle))) {
       if (!in_array($file, $nomask) && $file[0] != '.') {
         if (is_dir("$dir/$file") && $recurse) {
           // Give priority to files in this folder by merging them in after any subdirectory files.