Domanda

This seems like a really simple question, but having trouble figuring out an answer.

In lithium, How do you get the base url of a site from within the controller?

Thank you.

È stato utile?

Soluzione

From within the controller...

$this->request->env('base');
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top