Friday, February 28, 2014

Media View Path - Strange behaviour

Hey

I've pulled some working code from a repository this morning, which works at the office using OSX, to my windows machine.

The media view is having strange and unexpected behaviour, here is the code (expected path and actual path).


If you read the book (http://book.cakephp.org/2.0/en/views/media-view.html) it states the path by default should be absolute unless it's relative to the webroot folder. This only happens on my windows installation.

Perhaps this is a bug I should report, rather than something I have done wrong?

Cheers!

--
Kind Regards
 Stephen Speakman

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: