A simple directory abstraction.
getFile($path)
A reference to the file at the given path, even if it doesn't exist yet.
isFile($path)
Whether this directory has an existing file at the given location.
getPath($path= '')
Get the absolute path to the given directory-relative path.
includeFile($path)
Do a PHP include of the file and return the result.
putContents($path, $content)
Write a file, overwriting the contents if necessary.
getContents($path)
Read the file off the filesystem.
getFiles($path= '', $recursive=true)
List the files in the given directory path.
chroot($path)
Returns a subdirectory with access limited to the given directory.
$content
Set robots.txt action.
http free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to use
getDirectories($path= '', $recursive=true)
List the directories in the given directory path.