cakephp - how to get my application directory name -


My URL is ....

I want to get "myApplication" What is the important word to get the value?

I think you want:

  $ this- & Gt; Webroot  

or

  $ this-> Base  

or in your controller

  $ this-> Here  

refer to the definition of this variable.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -