title: CakePHP - How to get public path to application root
body: <p>I'm looking for a constant or variable that will provide a public path to my application root.</p>
  
  <p>I have got so far as <code>FULL_BASE_URL</code> which gives me <code>http://www.example.com</code> but I have the added problem of my application being in a sub directory (e.g. <code>http://www.example.com/myapp/</code>).</p>
  
  <p>Is there any way to get the path like <code>http://www.example.com/myapp/</code> in my controller?</p>