()
| 60 | } |
| 61 | |
| 62 | private static function baseDir(): string |
| 63 | { |
| 64 | $base = defined('FR_PRO_BUNDLE_DIR') ? rtrim((string)FR_PRO_BUNDLE_DIR, "/\\") : ''; |
| 65 | if ($base === '') { |
| 66 | $base = rtrim((string)USERS_DIR, "/\\") . DIRECTORY_SEPARATOR . 'pro'; |
| 67 | } |
| 68 | return $base; |
| 69 | } |
| 70 | |
| 71 | private static function filePath(): string |
| 72 | { |