@@ 2762-2768 (lines=7) @@ | ||
2759 | ||
2760 | $perm = null; |
|
2761 | ||
2762 | if ($this->access) { |
|
2763 | $perm = call_user_func($this->access, $name, $path, $this->options['accessControlData'], $this, $isDir); |
|
2764 | ||
2765 | if ($perm !== null) { |
|
2766 | return !!$perm; |
|
2767 | } |
|
2768 | } |
|
2769 | ||
2770 | if ($this->separator != '/') { |
|
2771 | $path = str_replace($this->separator, '/', $this->relpathCE($path)); |
|
@@ 2801-2806 (lines=6) @@ | ||
2798 | $path = $this->joinPathCE($dir, $name); |
|
2799 | $perm = null; |
|
2800 | ||
2801 | if ($this->access) { |
|
2802 | $perm = call_user_func($this->access, 'write', $path, $this->options['accessControlData'], $this, $isDir); |
|
2803 | if ($perm !== null) { |
|
2804 | return !!$perm; |
|
2805 | } |
|
2806 | } |
|
2807 | ||
2808 | $testPath = $this->separator.$this->relpathCE($path); |
|
2809 |