Archive for June, 2009

How to get the current URL

Posted in CakePHP, CakePHP 1.2 with tags , on June 11, 2009 by myleskadusale

$this->here

Advertisements

How to redirect to the root of your website

Posted in CakePHP, CakePHP 1.2 with tags , , on June 11, 2009 by myleskadusale

I was having a problem in going to the root of my website and I have solved it by using the code below
$this->redirect(“/”);