Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Moved CSS location to media folder #6

Conversation

ashsmith
Copy link
Contributor

Fixes #5

@bobbyshaw
Copy link
Member

+1

public function getCssDirectoryPath($store = null)
{

return Mage::getBaseDir('media') . $this->getCssPath($store);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a trailing slash after media directory Mage::getBaseDir('media') . DS . $this->getCssPath($store);

@ashsmith
Copy link
Contributor Author

Comments came as the result of some internal patches. Just making a note here so I can amend later.

- Fixes issue where the directory path of the generated css file could be missing a directory slash.
- Fixes issue where if a CDN is used, the generated file won't use the CDN URL. Fixes potential issue where SID parameters are included in the URL, and breaks file path.
@ashsmith ashsmith closed this Nov 5, 2019
@punkstar
Copy link
Contributor

punkstar commented Nov 5, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Supporting topologies with multiple web servers
3 participants