()
| 38 | private const RESUMABLE_INDEX_UPDATE_MIN = 120; |
| 39 | |
| 40 | private static function uploadRoot(): string |
| 41 | { |
| 42 | if (class_exists('SourceContext')) { |
| 43 | return SourceContext::uploadRoot(); |
| 44 | } |
| 45 | return rtrim((string)UPLOAD_DIR, '/\\') . DIRECTORY_SEPARATOR; |
| 46 | } |
| 47 | |
| 48 | private static function metaRoot(): string |
| 49 | { |
no outgoing calls
no test coverage detected