Adding enhancement from #2502 replacing app with APP_DIR 
Adding enhancement from #2502 replacing app with APP_DIR 

git-svn-id: 5860920b332e8b1c20d5ac1ddb0cfb1512ef151a@4896 3807eeeb-6ff5-0310-8944-8be069107fe0

dkarvounaris/cakephp,ionas/cakephp,bravo-kernel/cakephp,davidyell/cakephp,et304383/passbolt_api,ndm2/cakephp,ADmad/cakephp,cakephp/cakephp,burriko/cakephp,elboletaire/cakephp,garethellis36/cakephp,dakota/cakephp,web-player/cakephp,eboominathan/cakephp,adopico/cakephp,et304383/passbolt_api,berrygoudswaard/cakephp,petteyg/cakephp,mvdriel/cakephp,ndm2/cakephp,akintoey/cakephp,erikfig/cakephp,eryw/cakephp,tgr0ss/cakephp,Phillaf/cakephp,kumamidori/cakephp,CVO-Technologies/cakephp,tgr0ss/cakephp,justinyost/cakephp,mvdriel/cakephp,timhoeppner/cakephp,burriko/cakephp,CVO-Technologies/cakephp,erikfig/cakephp,dkarvounaris/cakephp,nrother/cakephp,ionas/cakephp,gmponos/cakephp,adopico/cakephp,dakota/cakephp,petteyg/cakephp,eryw/cakephp,bravo-kernel/cakephp,et304383/passbolt_api,ADmad/cakephp,tisu2tisu/cakephp,garethellis36/cakephp,akintoey/cakephp,ionas/cakephp,thinkingmedia/cakephp,web-player/cakephp,web-player/cakephp,cakephp-fr/cakephp,dakota/cakephp,justinyost/cakephp,elboletaire/cakephp,erikfig/cakephp,yinhe007/cakephp,timhoeppner/cakephp,gmponos/cakephp,Balachan27/cakephp,mvdriel/cakephp,davidyell/cakephp,eryw/cakephp,et304383/passbolt_api,CakeDC/cakephp,berrygoudswaard/cakephp,CakeDC/cakephp,HavokInspiration/cakephp,ndm2/cakephp,Phillaf/cakephp,jerems02/cakephp,nrother/cakephp,kumamidori/cakephp,jjj117/cakephp,michaelze/cakephp,cakephp/cakephp,Balachan27/cakephp,pbaire/cakephp,yinhe007/cakephp,yinhe007/cakephp,HavokInspiration/cakephp,nrother/cakephp,dakota/cakephp,elboletaire/cakephp,kumamidori/cakephp,jeffblack360/cakephp,michaelze/cakephp,CVO-Technologies/cakephp,CakeDC/cakephp,khoimt/cakephp-study,garethellis36/cakephp,khoimt/cakephp-study,cakephp/cakephp,tenkoma/cakephp,mvdriel/cakephp,michaelze/cakephp,Phillaf/cakephp,tenkoma/cakephp,burriko/cakephp,gmponos/cakephp,jeffblack360/cakephp,khoimt/cakephp-study,ADmad/cakephp,petteyg/cakephp,garethellis36/cakephp,petteyg/cakephp,berrygoudswaard/cakephp,justinyost/cakephp,jeffblack360/cakephp,eboominathan/cakephp,ndm2/cakephp,thinkingmedia/cakephp,dkarvounaris/cakephp,HavokInspiration/cakephp,timhoeppner/cakephp,jerems02/cakephp,pbaire/cakephp,tgr0ss/cakephp,tenkoma/cakephp,Balachan27/cakephp,pbaire/cakephp,thinkingmedia/cakephp,jjj117/cakephp,adopico/cakephp,tenkoma/cakephp,tisu2tisu/cakephp,cakephp-fr/cakephp,bravo-kernel/cakephp,ADmad/cakephp,davidyell/cakephp,cakephp-fr/cakephp,jerems02/cakephp,akintoey/cakephp,tisu2tisu/cakephp,cakephp/cakephp,jjj117/cakephp,eboominathan/cakephp,et304383/passbolt_api,CakeDC/cakephp