Skip to content

Commit

Permalink
Fix: Exclude temp file
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jun 5, 2012
1 parent c8bd77d commit a5a4ef5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/core/ajax/ajaxdirtree.php
Expand Up @@ -19,7 +19,6 @@
* \file htdocs/core/ajax/ajaxdirtree.php
* \ingroup ecm
* \brief This script returns content of a directory for filetree
* \version $Id: ajaxFileTree.php,v 1.8 2011/07/06 17:03:41 eldy Exp $
*/


Expand Down Expand Up @@ -105,6 +104,8 @@
// All dirs
foreach( $files as $file ) // $file can be '.', '..', or 'My dir' or 'My file'
{
if ($file == 'temp') continue;

$nbofsubdir=0;
$nboffilesinsubdir=0;

Expand Down

0 comments on commit a5a4ef5

Please sign in to comment.