Fix file type

git-svn-id: http://svn.automattic.com/wordpress/trunk@7129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-03-02 20:10:43 +00:00
parent 97cd4acf01
commit 642135072a
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 ){