[TASK] Use Environment API instead of PATH_site
The constant is dropped in TYPO3 v10, so the new Environment API should be used instead.
The main difference is that Environment::getPublicPath() does not hold a "/" at the very end.
The constant is dropped in TYPO3 v10, so the new Environment API should be used instead.
The main difference is that Environment::getPublicPath() does not hold a "/" at the very end.