|
@@ 2741-2747 (lines=7) @@
|
| 2738 |
|
|
| 2739 |
|
$perm = null; |
| 2740 |
|
|
| 2741 |
|
if ($this->access) { |
| 2742 |
|
$perm = call_user_func($this->access, $name, $path, $this->options['accessControlData'], $this, $isDir); |
| 2743 |
|
|
| 2744 |
|
if ($perm !== null) { |
| 2745 |
|
return !!$perm; |
| 2746 |
|
} |
| 2747 |
|
} |
| 2748 |
|
|
| 2749 |
|
if ($this->separator != '/') { |
| 2750 |
|
$path = str_replace($this->separator, '/', $this->relpathCE($path)); |
|
@@ 2780-2785 (lines=6) @@
|
| 2777 |
|
$path = $this->joinPathCE($dir, $name); |
| 2778 |
|
$perm = null; |
| 2779 |
|
|
| 2780 |
|
if ($this->access) { |
| 2781 |
|
$perm = call_user_func($this->access, 'write', $path, $this->options['accessControlData'], $this, $isDir); |
| 2782 |
|
if ($perm !== null) { |
| 2783 |
|
return !!$perm; |
| 2784 |
|
} |
| 2785 |
|
} |
| 2786 |
|
|
| 2787 |
|
$testPath = $this->separator.$this->relpathCE($path); |
| 2788 |
|
|