This happened a couple more times since I written the original email, it turns out when it cannot find the file, it prints an error with the wrong path. When the file is found, it uses the intended path.
On 1 March 2014 19:57, Stephen S <[email protected]> wrote: > Doing pr(ROOT) will print D:\Work\DittoCake > > > On 1 March 2014 05:38, Andrew Lechowicz <[email protected]> wrote: > >> What is the value of your `ROOT` constant on the windows machine? >> >> >> On Friday, February 28, 2014 7:01:22 AM UTC-5, Stephen S wrote: >>> >>> 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). >>> >>> http://pastie.org/private/qw6twdc7pk4mm9kqega >>> >>> 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 [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/cake-php. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Kind Regards > Stephen Speakman > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
