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

Source for file Initialize.php

Documentation is available at Initialize.php

  1. <?
  2. /**
  3. * The Initialize resource file.
  4. * Initialize the Log system constants from the POST/GET request
  5. * or from the default values
  6. *
  7. * @package log
  8. * @filesource
  9. * @see HTML_LOG_RESOURCE_PATH/Initialize.php
  10. * @copyright (c) http://Finn-Rasmussen.com
  11. * @license http://Finn-Rasmussen.com/license/ myPHP License conditions
  12. * @author http://Finn-Rasmussen.com
  13. * @version 1.9
  14. * @since 21-oct-2005
  15. */
  16.  
  17. /**
  18. * @global LOG_LEVEL The Log Level to use
  19. */
  20. if (!defined('LOG_LEVEL')) {
  21. if (empty($_GET[REQUEST_LOG_LEVEL])) {
  22. if (empty($_POST[REQUEST_LOG_LEVEL])) {
  23. // define Log Level to use later
  24. } else {
  25. /**
  26. * @ignore
  27. */
  28. define('LOG_LEVEL' ,$_POST[REQUEST_LOG_LEVEL]);
  29. }
  30. } else {
  31. /**
  32. * @ignore
  33. */
  34. define('LOG_LEVEL' ,$_GET[REQUEST_LOG_LEVEL]);
  35. }
  36. }
  37.  
  38. ?>

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