Fix file type
git-svn-id: http://svn.automattic.com/wordpress/trunk@7129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
97cd4acf01
commit
642135072a
|
@ -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 ){
|
||||
|
|
Loading…
Reference in New Issue