equal
deleted
inserted
replaced
328 $b['time'] = strtotime( sprintf('%d %s %d %02d:%02d', $b['day'], $b['month'], $b['year'], $b['hour'], $b['minute']) ); |
328 $b['time'] = strtotime( sprintf('%d %s %d %02d:%02d', $b['day'], $b['month'], $b['year'], $b['hour'], $b['minute']) ); |
329 $b['name'] = $lucifer[8]; |
329 $b['name'] = $lucifer[8]; |
330 } |
330 } |
331 } |
331 } |
332 |
332 |
|
333 // Replace symlinks formatted as "source -> target" with just the source name |
|
334 if ( $b['islink'] ) |
|
335 $b['name'] = preg_replace( '/(\s*->\s*.*)$/', '', $b['name'] ); |
|
336 |
333 return $b; |
337 return $b; |
334 } |
338 } |
335 |
339 |
336 function dirlist($path = '.', $include_hidden = true, $recursive = false) { |
340 function dirlist($path = '.', $include_hidden = true, $recursive = false) { |
337 if ( $this->is_file($path) ) { |
341 if ( $this->is_file($path) ) { |