We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File: SproutModuleTrait.php
return Craft::getAlias('@Sprout/Assets' . DIRECTORY_SEPARATOR . 'dist' . DIRECTORY_SEPARATOR . 'static' . DIRECTORY_SEPARATOR . static::getShortName() . $path);
DIRECTORY_SEPARATOR creates \ which makes a path that Windows cannot resolve and thus giving an invalid path alias which crashes the site.
Replacing DIRECTORY_SEPARATOR with / fixes issue.
Work on a Windows environnement without a container.
4.47.2
4.12.0
MySQL
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
File: SproutModuleTrait.php
return Craft::getAlias('@Sprout/Assets' . DIRECTORY_SEPARATOR . 'dist' . DIRECTORY_SEPARATOR . 'static' . DIRECTORY_SEPARATOR . static::getShortName() . $path);
DIRECTORY_SEPARATOR creates \ which makes a path that Windows cannot resolve and thus giving an invalid path alias which crashes the site.
Replacing DIRECTORY_SEPARATOR with / fixes issue.
How to reproduce
Work on a Windows environnement without a container.
Sprout Version
4.47.2
Craft Version
4.12.0
Database Type Version
MySQL
The text was updated successfully, but these errors were encountered: