| @@ 51-58 (lines=8) @@ | ||
| 48 | ) ) ); |
|
| 49 | } |
|
| 50 | ||
| 51 | public static function exists( $path = '' ) { |
|
| 52 | global $store; |
|
| 53 | $path = (string) $path; |
|
| 54 | return $store->exists( ar::context()->getPath( array( |
|
| 55 | 'skipShortcuts' => true, |
|
| 56 | 'path' => $path |
|
| 57 | ) ) ); |
|
| 58 | } |
|
| 59 | ||
| 60 | public static function currentSite( $path = '' ) { |
|
| 61 | $path = (string) $path; |
|
| @@ 142-148 (lines=7) @@ | ||
| 139 | ) ); |
|
| 140 | } |
|
| 141 | ||
| 142 | public static function makeRealPath( $path = '' ) { |
|
| 143 | $path = (string) $path; |
|
| 144 | return ar::context()->getPath( array( |
|
| 145 | 'skipShortcuts' => true, |
|
| 146 | 'path' => $path |
|
| 147 | ) ); |
|
| 148 | } |
|
| 149 | ||
| 150 | } |
|
| 151 | ||