Why cakephp have two vendor folder?what is the difference between two vendors folder available in cakephp?
3 months 88 views
There will be two vendor folders available in cakephp frame work. one in ” app ” folder and one in root folder The vendor folder in the app folder is used to place the third-party libraries which are application specific. The vendor folder ...
3 months 77 views
default extension of view files is '.ctp'. yes we can change it by writing public $ext = '.yourext'; in AppController.If you want to change it for particular controller then add it into that controller only.You can also change it for ...
3 months 116 views
To get current url in cakephp use, echo Router::url($this->here, true); This will give full URL with hostname.If you want to get relative path instead of full URL,then use the following code: echo $this->here; This will produce absolute URL excluding hostname i.e. /controller/abc/xyz/ ...