Fix file type
git-svn-id: https://develop.svn.wordpress.org/trunk@7129 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6d1631aa47
commit
d690f0f9e7
|
@ -307,7 +307,7 @@ class WP_Filesystem_Direct{
|
||||||
$struc['lastmod'] = date('M j',$struc['lastmodunix']);
|
$struc['lastmod'] = date('M j',$struc['lastmodunix']);
|
||||||
$struc['time'] = date('h:i:s',$struc['lastmodunix']);
|
$struc['time'] = date('h:i:s',$struc['lastmodunix']);
|
||||||
$struc['type'] = $this->is_dir($path.'/'.$entry) ? 'd' : 'f';
|
$struc['type'] = $this->is_dir($path.'/'.$entry) ? 'd' : 'f';
|
||||||
if('folder' == $struc['type'] ){
|
if ('d' == $struc['type'] ){
|
||||||
$struc['files'] = array();
|
$struc['files'] = array();
|
||||||
|
|
||||||
if( $incdot ){
|
if( $incdot ){
|
||||||
|
|
Loading…
Reference in New Issue