dir::read($dir, $ignore = array())
Reads all files from a directory and returns them as an array.
-
$dir (string)
The path of directory -
$ignore (array)
Optional array with filenames, which should be ignored -
return (mixed)
An array of filenames or false