phpDocumentor profiler
[ class tree: profiler ] [ index: profiler ] [ all elements ]

Source for file index.php

Documentation is available at index.php

  1. <?
  2. /**
  3. * The index.php.
  4. * The main entry for a browser request
  5. *
  6. * @package profiler
  7. * @filesource
  8. * @see index.php
  9. * @copyright (c) http://Finn-Rasmussen.com
  10. * @license http://Finn-Rasmussen.com/license/ myPHP License conditions
  11. * @author http://Finn-Rasmussen.com
  12. * @version 1.9
  13. * @since 21-oct-2005
  14. */
  15.  
  16. /**
  17. * The required files
  18. */
  19. require_once($_SERVER['DOCUMENT_ROOT'].'/initialize.php');
  20.  
  21. /**
  22. * Show in plain text
  23. */
  24. header("Content-Type: text/plain; charset=utf-8");
  25. header('Content-Transfer-Encoding: none');
  26.  
  27. /**
  28. * Initialize the Profiler system
  29. * @see Timer
  30. */
  31. require_once(HTML_PROFILER_COMPONENT_PATH.'/Timer.php');
  32. Timer::init(); // Start Profiler
  33. Timer::display('','Start Profiler');
  34. Timer::dump(); // Print as html
  35. ?>

Documentation generated on Thu, 22 Dec 2005 17:10:51 +0100 by phpDocumentor 1.3.0RC3