The file paths get cached in /app/tmp/cache/persistent/ cake_core_file_map. Set debug to 0 in your core.php and re-run. You'll see all the files found on the first try.
-Matt http://www.pseudocoder.com On Feb 20, 8:38 am, majna <[email protected]> wrote: > You can see my report here: http://bin.cakephp.org/view/442110052 > There is *too much* wrong paths where cake searches core files. > In real application it gets even worse (including behavior.php etc). > Am I doing something wrong? Cake founds dispatcher.php on 50th > attempt!? > Please can someone confirm this as a bug? > > To reproduce: > 1. Setup clean Cake install. > 2. Edit cake/libs/configure.php > > Add to App:: __load($file) to echo out what PHP's "file_exists" > returns: > if (file_exists($file)) { > echo 'Found : '.$file."<br />"; > ...other code}else{ > > echo 'Not found : '.$file."<br />"; > > } > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
