Closed kendarorg closed 5 years ago
Wouldn't this require open_basedir to be set? (at least in Linux). I'd rather just use a symlink and enter a path relative to root, but again that is Linux.
Added support for two new env variables to handle this. UPLOAD_DIR and DATA_DIR, the will have precedence over the ones generated via setup
Suggestion from a user: Change Settings::$PackagesRoot manually in your code to next look for support handling the package directory on network drive, maybe you can in setup.php allow insert the path to packages directory manually, when the default will be your default location.
Settings::$PackagesRoot = Path::Combine("\MY_SERVER","MY_DIRECTORY_PATH");