- <?
- /**
- * The index.php.
- * The main entry for a browser request
- *
- * @package showsource
- * @filesource
- * @see index.php
- * @copyright (c) http://Finn-Rasmussen.com
- * @license http://Finn-Rasmussen.com/license/ myPHP License conditions
- * @author http://Finn-Rasmussen.com
- * @version 1.9
- * @since 21-oct-2005
- */
-
- /**
- * @ignore
- */
- define('SHOW_SOURCE_CODE' , true);
-
- /**
- * The required files
- */
- require_once($_SERVER['DOCUMENT_ROOT'].'/initialize.php');
-
- /**
- * Initialize the Show Source system
- * @see ShowSource
- */
- require_once(HTML_SHOW_SOURCE_UTIL_PATH.'/ShowSource.php');
- ShowSource::display();
- if (count($_GET)==0) {
- ShowSource::show('.',md5(INDEX_FILE_NAME));
- }
- ?>