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

Source for file init.php

Documentation is available at init.php

  1. <?
  2. /**
  3. * The Log Package.
  4. * This is the init file for the myPHP Log package
  5. *
  6. * @package log
  7. * @filesource
  8. * @see MYPHP_LOG_PATH/init.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. * @global LOG_PATH Defines the Path to the Log package, FIXED do not change ...
  18. */
  19. define('HTML_LOG_PATH' , MYPHP_LOG_PATH.'/html');
  20. define('HTML_LOG_RESOURCE_PATH', HTML_LOG_PATH.'/resource');
  21. define('HTML_LOG_UTIL_PATH' , HTML_LOG_PATH.'/util');
  22.  
  23. /**
  24. * Define the Log system constants, FIXED, do not change ...
  25. * must be called before Default.php
  26. * @see HTML_LOG_RESOURCE_PATH.'/Define.php' The Log Define Package
  27. */
  28. if (defined('HTML_LOG_RESOURCE_PATH')) {
  29. if (file_exists(HTML_LOG_RESOURCE_PATH.'/Define.php')) {
  30. require_once(HTML_LOG_RESOURCE_PATH.'/Define.php');
  31. } else {
  32. die('MYPHP_LOG_PATH/init.php, Unable to include HTML_LOG_RESOURCE_PATH/Define.php from '.HTML_LOG_RESOURCE_PATH);
  33. }
  34. }
  35.  
  36. /**
  37. * Define the default values, FIXED, do not change ...
  38. * NOTE: Define.php must be called before this file
  39. * @see HTML_LOG_RESOURCE_PATH.'/Default.php' The Log Default Package
  40. */
  41. if (defined('HTML_LOG_RESOURCE_PATH')) {
  42. if (file_exists(HTML_LOG_RESOURCE_PATH.'/Default.php')) {
  43. require_once(HTML_LOG_RESOURCE_PATH.'/Default.php');
  44. } else {
  45. die('MYPHP_LOG_PATH/init.php, Unable to include HTML_LOG_RESOURCE_PATH/Default.php from '.HTML_LOG_RESOURCE_PATH);
  46. }
  47. }
  48.  
  49. /**
  50. * Initializes the Log system with Request params, FIXED, do not change ...
  51. * The Initialize must come before ./config.php and <root>/setup.php
  52. * @see HTML_LOG_RESOURCE_PATH.'/Initialize.php' The Log Initialize Package
  53. */
  54. if (defined('HTML_LOG_RESOURCE_PATH')) {
  55. if (file_exists(HTML_LOG_RESOURCE_PATH.'/Initialize.php')) {
  56. require_once(HTML_LOG_RESOURCE_PATH.'/Initialize.php');
  57. } else {
  58. die('MYPHP_LOG_PATH/init.php, Unable to include HTML_LOG_RESOURCE_PATH/Initialize.php from '.HTML_LOG_RESOURCE_PATH);
  59. }
  60. }
  61. ?>

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