Not sure if this is entirely what you want, but the constant
FULL_BASE_URL is available to give you the sites URL such as www.mysite.com
On Jul 3, 3:31 pm, Tilen Majerle tilen.maje...@gmail.com wrote:
try with Router::url('/', true);
--
Lep pozdrav, Tilen Majerlehttp://majerle.eu
2011/7/3
Hi , how to get site url in controller and view.The same built in
function available in CI.My objective is to get localhost/
project_name in development mode and domainname.com in production
in both view and controller. Is it possible in Cake.
I can write like this.
$data =
try with Router::url('/', true);
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/7/3 Jerin jerin.kalexan...@gmail.com
Hi , how to get site url in controller and view.The same built in
function available in CI.My objective is to get localhost/
project_name in development mode and