Changing how Folder Class is loaded.  Fixes infinite loops resulting in segfault under apache 2 when Cache.disable = true and debug = 0.  Closes #5458
Changing how Folder Class is loaded.  Fixes infinite loops resulting in segfault under apache 2 when Cache.disable = true and debug = 0.  Closes #5458

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

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