phpDocumentor showsource
[ class tree: showsource ] [ index: showsource ] [ 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 showsource
  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. * @ignore
  18. */
  19. define('SHOW_SOURCE_CODE' , true);
  20.  
  21. /**
  22. * The required files
  23. */
  24. require_once($_SERVER['DOCUMENT_ROOT'].'/initialize.php');
  25.  
  26. /**
  27. * Initialize the Show Source system
  28. * @see ShowSource
  29. */
  30. require_once(HTML_SHOW_SOURCE_UTIL_PATH.'/ShowSource.php');
  31. ShowSource::display();
  32. if (count($_GET)==0) {
  33. ShowSource::show('.',md5(INDEX_FILE_NAME));
  34. }
  35. ?>

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