public function FileSystemBase::exists in Forena Reports 8
Return whether the file exists.
Parameters
string $filename: Relative path to file
Overrides FileInterface::exists
File
- src/
File/ FileSystemBase.php, line 246 - FileSystemBase.inc File toolbox for manipulating files contained tn the report directory.
Class
Namespace
Drupal\forena\FileCode
public function exists($filename, $use_include = TRUE) {
$path = $this
->path($filename, $use_include);
return file_exists($path);
}