that is the only solution i found so far:
http://bakery.cakephp.org/articles/view/component-for-forcing-a-secure-connection
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send
I have also same issue.
I tried "base"
'base'=>'https', 'base'=>'https:' and 'base'=>'https://' and
echo $html->link('billing',
array('base'=>'https:','controller'=>'/customers/billing_and_shipping'));
then link is looks like this
billing
I also tried "bare" but I didn't see any different wiht
Anyone found the solution ? I am on the same boat.
Best,
~IF.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this g
I looked at the core Cake files and saw the "base" and "full_base"
options. Im not sure how they are written though or if its possible to
pass the protocal.
Try different combinations likes "https" or "https:". If those dont
work, try it on "full_base". If nothing, I guess well have to wait for
a
Ahh, I figured it out from reading the code. The variable that I need
is 'bare', not 'base'.
So this works.
$html->link('my account', array('bare' => 'https://', 'controller' =>
'users'));
On Sep 15, 5:40 pm, Aaron wrote:
> That doesn't seem to be working.
> What am I doing wrong here?
> This
That doesn't seem to be working.
What am I doing wrong here?
This is what I have in the code.
$html->link('my account', array('base' => 'https://', 'controller' =>
'users'));
And this is what is showing up.
my account
Seems like I'm missing something basic here, just can't figure out
what.
On
Try adding 'base' => 'https://' to your URL array.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send e
What's the best way to extend the html->link function so that I can
tell it to output a secure(https) link?
Right now, I've added my own secure_link function that's basically a
copy of the link function but adding a https to the beginning.
But it seems like there should be a better way of overridi