You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SCSS files registered in the ADD_CSS hook are not working as expected.
Only SCSS files located in the public directory should be exposed, therefore /css/styles.scss should serve the compiled CSS from the /public/css/styles.scss file.
If the plugin is located in another directory than /plugins, the compilation fails as GLPI tries to access the SCSS file in the /plugins dir.
Relevant log output
Page URL
No response
Steps To reproduce
Get a plugin that registers a SCSS file in the ADD_CSS hook and place it in the /marketplace dir.
See that the /front/css.php?file=plugins/myplugin/css/styles.scss URL fails with an error.
Your GLPI setup information
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Code of Conduct
Is there an existing issue for this?
Version
11.0.0-dev
Bug description
The SCSS files registered in the
ADD_CSS
hook are not working as expected./css/styles.scss
should serve the compiled CSS from the/public/css/styles.scss
file./plugins
, the compilation fails as GLPI tries to access the SCSS file in the/plugins
dir.Relevant log output
Page URL
No response
Steps To reproduce
ADD_CSS
hook and place it in the/marketplace
dir./front/css.php?file=plugins/myplugin/css/styles.scss
URL fails with an error.Your GLPI setup information
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: