Fix file type

git-svn-id: https://develop.svn.wordpress.org/trunk@7129 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-03-02 20:10:43 +00:00
parent 6d1631aa47
commit d690f0f9e7
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ class WP_Filesystem_Direct{
$struc['lastmod'] = date('M j',$struc['lastmodunix']);
$struc['time'] = date('h:i:s',$struc['lastmodunix']);
$struc['type'] = $this->is_dir($path.'/'.$entry) ? 'd' : 'f';
if('folder' == $struc['type'] ){
if ('d' == $struc['type'] ){
$struc['files'] = array();
if( $incdot ){