Commit bec2146d authored by Jamie Carl's avatar Jamie Carl 🤙🏼

Fixed exists() check on is_writable() call on Hazaar\File.

parent 7a1bacfa
Pipeline #1977 passed with stage
in 39 seconds
......@@ -232,15 +232,15 @@ class File {
public function is_writable() {
if(!$this->exists())
return false;
return $this->backend->is_writable($this->source_file);
}
public function is_dir() {
if(!$this->exists())
return false;
return $this->backend->is_dir($this->source_file);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment