trentrichardson / cakephp-shrink

Shrink is a CakePHP plugin to Compile, Combine, Compress js, css, less, sass, coffee assets
16 stars 9 forks source link

Fetch doesn't work for subdirectories #3

Open iamdriz opened 10 years ago

iamdriz commented 10 years ago

When using the fetch method to pull down the css or js files it doesn't prefix the path.

For example if I have an app at:

http://domain.com/HelloWorld

and the webroot is here:

domain.com/html/HelloWorld/App/webroot/

So instead of getting:

/HelloWorld/css/shrink_fd92fc8fcce629a200415826e4b96d9c.css

you get:

/css/shrink_fd92fc8fcce629a200415826e4b96d9c.css

mikedigital commented 8 years ago

I'm having the same issue. I am using a standard install of Wamp on my local machine and the file should be located one directory in rather than the root.

jdoose commented 8 years ago

+1