|
@@ 1958-1964 (lines=7) @@
|
| 1955 |
|
|
| 1956 |
|
$perm = null; |
| 1957 |
|
|
| 1958 |
|
if ($this->access) { |
| 1959 |
|
$perm = call_user_func($this->access, $name, $path, $this->options['accessControlData'], $this); |
| 1960 |
|
|
| 1961 |
|
if ($perm !== null) { |
| 1962 |
|
return !!$perm; |
| 1963 |
|
} |
| 1964 |
|
} |
| 1965 |
|
|
| 1966 |
|
if ($this->separator != '/') { |
| 1967 |
|
$path = str_replace($this->separator, '/', $this->_relpath($path)); |
|
@@ 1997-2002 (lines=6) @@
|
| 1994 |
|
$path = $this->_joinPath($dir, $name); |
| 1995 |
|
$perm = null; |
| 1996 |
|
|
| 1997 |
|
if ($this->access) { |
| 1998 |
|
$perm = call_user_func($this->access, 'write', $path, $this->options['accessControlData'], $this); |
| 1999 |
|
if ($perm !== null) { |
| 2000 |
|
return !!$perm; |
| 2001 |
|
} |
| 2002 |
|
} |
| 2003 |
|
|
| 2004 |
|
$testPath = $this->separator.$this->_relpath($path); |
| 2005 |
|
|