- <?
- /**
- * The Initialize resource file.
- * Initialize the Log system constants from the POST/GET request
- * or from the default values
- *
- * @package log
- * @filesource
- * @see HTML_LOG_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
- */
-
- /**
- * @global LOG_LEVEL The Log Level to use
- */
- if (!defined('LOG_LEVEL')) {
- if (empty($_GET[REQUEST_LOG_LEVEL])) {
- if (empty($_POST[REQUEST_LOG_LEVEL])) {
- // define Log Level to use later
- } else {
- /**
- * @ignore
- */
- define('LOG_LEVEL' ,$_POST[REQUEST_LOG_LEVEL]);
- }
- } else {
- /**
- * @ignore
- */
- define('LOG_LEVEL' ,$_GET[REQUEST_LOG_LEVEL]);
- }
- }
-
- ?>