public function getPath($file, $local = false) { return $this->getPathInfo($file, $local ? 'localpath' : 'pathname') ?: false; }