- <?
- /**
- * The Initialize resource file.
- * Initialize the system constants from the POST/GET request
- * or from the default values
- *
- * @package showsource
- * @filesource
- * @see HTML_SHOW_SOURCE_RESOURCE_PATH/Initialize.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
- */
-
- /**
- * The Show Source Code.
- * <code>
- * Choose, to show the php source code
- * 0x0 Show none
- * 0x1 Show source code
- * </code>
- * @global SHOW_SOURCE_CODE
- */
- if (!defined('SHOW_SOURCE_CODE')) {
- if (empty($_GET[REQUEST_SHOW_SOURCE_CODE])) {
- if (empty($_POST[REQUEST_SHOW_SOURCE_CODE])) {
- // define it later
- } else {
- /**
- * @ignore
- */
- define('SHOW_SOURCE_CODE' ,$_POST[REQUEST_SHOW_SOURCE_CODE]);
- }
- } else {
- /**
- * @ignore
- */
- define('SHOW_SOURCE_CODE' ,$_GET[REQUEST_SHOW_SOURCE_CODE]);
- }
- }
- ?>