- <?
- /**
- * The Log Package.
- * This is the init file for the myPHP Log package
- *
- * @package log
- * @filesource
- * @see MYPHP_LOG_PATH/init.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_PATH Defines the Path to the Log package, FIXED do not change ...
- */
- define('HTML_LOG_PATH' , MYPHP_LOG_PATH.'/html');
- define('HTML_LOG_RESOURCE_PATH', HTML_LOG_PATH.'/resource');
- define('HTML_LOG_UTIL_PATH' , HTML_LOG_PATH.'/util');
-
- /**
- * Define the Log system constants, FIXED, do not change ...
- * must be called before Default.php
- * @see HTML_LOG_RESOURCE_PATH.'/Define.php' The Log Define Package
- */
- if (defined('HTML_LOG_RESOURCE_PATH')) {
- if (file_exists(HTML_LOG_RESOURCE_PATH.'/Define.php')) {
- require_once(HTML_LOG_RESOURCE_PATH.'/Define.php');
- } else {
- die('MYPHP_LOG_PATH/init.php, Unable to include HTML_LOG_RESOURCE_PATH/Define.php from '.HTML_LOG_RESOURCE_PATH);
- }
- }
-
- /**
- * Define the default values, FIXED, do not change ...
- * NOTE: Define.php must be called before this file
- * @see HTML_LOG_RESOURCE_PATH.'/Default.php' The Log Default Package
- */
- if (defined('HTML_LOG_RESOURCE_PATH')) {
- if (file_exists(HTML_LOG_RESOURCE_PATH.'/Default.php')) {
- require_once(HTML_LOG_RESOURCE_PATH.'/Default.php');
- } else {
- die('MYPHP_LOG_PATH/init.php, Unable to include HTML_LOG_RESOURCE_PATH/Default.php from '.HTML_LOG_RESOURCE_PATH);
- }
- }
-
- /**
- * Initializes the Log system with Request params, FIXED, do not change ...
- * The Initialize must come before ./config.php and <root>/setup.php
- * @see HTML_LOG_RESOURCE_PATH.'/Initialize.php' The Log Initialize Package
- */
- if (defined('HTML_LOG_RESOURCE_PATH')) {
- if (file_exists(HTML_LOG_RESOURCE_PATH.'/Initialize.php')) {
- require_once(HTML_LOG_RESOURCE_PATH.'/Initialize.php');
- } else {
- die('MYPHP_LOG_PATH/init.php, Unable to include HTML_LOG_RESOURCE_PATH/Initialize.php from '.HTML_LOG_RESOURCE_PATH);
- }
- }
- ?>