Thanks Max, this is the first thing I tried, but it didn't seem to work.

On Tuesday, 3 July 2012 17:10:38 UTC+1, Max Dörfler wrote:
>
> Hi, 
>
> have you tried copying the core "CakeRequest.php" to 
> "app/Lib/Cake/Network/CakeRequest.php" and do your changes there? I 
> think I remeber doing something like this with the Dispatcher and cake 
> automagically used the one from the app. The problem I had back then was 
> that I had to copy the whole class instead of just putting an extended 
> class there. 
>
> On 07/03/2012 03:01 PM, Tom Cowle wrote: 
> > My web hosting in on a load balanced server, which means that HTTPS 
> > cannot be detected in the usual way. My host includes a custom header 
> > which allows detection of HTTPS. 
> > 
> > This means that the CakePHP request->isSSL() functionality does not 
> > work out of the box. 
> > 
> > I can fix this easily in Lib/Cake/Network/CakeRequest.php - however, I 
> > know it is bad practice to modify files in Lib as changes will be 
> > overridden if CakePHP is upgraded. 
> > 
> > Is there a way to override CakeRequest (and for that matter any other 
> > Lib file) at the App level? 
> > 
> > Thanks, 
> > 
> > Tom 
> > -- 
> > Our newest site for the community: CakePHP Video Tutorials 
> > http://tv.cakephp.org 
> > Check out the new CakePHP Questions site http://ask.cakephp.org and 
> > help others with their CakePHP related questions. 
> > 
> > 
> > To unsubscribe from this group, send email to 
> > [email protected] For more options, visit this 
> > group at http://groups.google.com/group/cake-php 
>
>
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to