Saturday, December 26, 2009

Re: i have three queries

> 3. What is cakephp global variable for current web root url for example if
> my cake  is running in subfolder called cake inside htdocs of XAMPP and i
> use to access the site withhttp://localhost/cake/
>
> what variable can return "http://localhost/cake/"
>

I think you want $this->webroot

I hope this helps,
Ken

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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 email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: