06.27 php saved
floob
Tags add more
 
Note
infinite recursion with simple setup
  1. // MyController: same folder as app_controller.php
  2. <?php
  3. class MyController extends Controller {
  4.     var $helpers = array('noExisto');
  5. }
  6. ?>
  7.  
  8. // AppController
  9. <?php
  10. require_once('my_controller.php');
  11. class AppController extends MyController {
  12. }
  13. ?>
  14.  
  15. /* That's all it should take.  If you have no debugger installed (Xdebug), with a fresh cake checkout from svn, you should get a white screen of death.  It's recursing infinitely */
Parsed in 0.016 seconds, using GeSHi 1.0.7.14

Modify this Paste