MyBootstrap.php 470 B

12345678910111213
  1. <?php
  2. /**
  3. * Basic bootstrap stuff
  4. *
  5. * Note: Do not use App::uses() to include this file.
  6. * Use App::import('Lib', 'Tools.Bootstrap/MyBootstrap'); as noted in the readme.
  7. *
  8. * // DEPRECATED - since App::import also seems to be buggy, we better use
  9. * // CakePlugin::load('Tools', array('bootstrap' => true)); to include the bootstrap file
  10. * // directly.
  11. * // This file then can be ignored.
  12. */
  13. require(CakePlugin::path('Tools') . 'Config' . DS . 'bootstrap.php');