| @@ 66-73 (lines=8) @@ | ||
| 63 | ) ) ); |
|
| 64 | } |
|
| 65 | ||
| 66 | public static function exists( $path = '' ) { |
|
| 67 | global $store; |
|
| 68 | $path = (string) $path; |
|
| 69 | return $store->exists( ar::context()->getPath( array( |
|
| 70 | 'skipShortcuts' => true, |
|
| 71 | 'path' => $path |
|
| 72 | ) ) ); |
|
| 73 | } |
|
| 74 | ||
| 75 | public static function currentSite( $path = '' ) { |
|
| 76 | $path = (string) $path; |
|
| @@ 157-163 (lines=7) @@ | ||
| 154 | ) ); |
|
| 155 | } |
|
| 156 | ||
| 157 | public static function makeRealPath( $path = '' ) { |
|
| 158 | $path = (string) $path; |
|
| 159 | return ar::context()->getPath( array( |
|
| 160 | 'skipShortcuts' => true, |
|
| 161 | 'path' => $path |
|
| 162 | ) ); |
|
| 163 | } |
|
| 164 | ||
| 165 | } |
|
| 166 | ||