CakePHP - How to get public path to application root -


i'm looking constant or variable provide public path application root.

i have got far full_base_url gives me http://www.example.com have added problem of application being in sub directory (e.g. http://www.example.com/myapp/).

is there way path http://www.example.com/myapp/ in controller?

$this->html->url( '/', true );

in general should generate links function, see http://book.cakephp.org/view/1448/url


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -