- <?
- /**
- * The Base Package.
- * This is the init file for the myPHP Base package
- *
- * @package base
- * @filesource
- * @see MYPHP_BASE_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 String HTML_BASE_PATH Defines the Path to the packages, FIXED, do not change ...
- */
- define('HTML_BASE_PATH', MYPHP_BASE_PATH.'/html');
-
- /**
- * @global String HTML_PATH Defines the Path to the Html.php and Object.php classes, FIXED, do not change ...
- */
- define('HTML_PATH', HTML_BASE_PATH);
-
- /**
- * @global String HTML_BASE_PAGE_PATH Defines the Path to base page package, FIXED, do not change ...
- */
- define('HTML_BASE_PAGE_PATH' , HTML_BASE_PATH.'/page');
-
- /**
- * @global String HTML_BASE_RESOURCE_PATH Defines the Path to the base resource package, FIXED, do not change ...
- */
- define('HTML_BASE_RESOURCE_PATH', HTML_BASE_PATH.'/resource');
-
- /**
- * @global String HTML_BASE_UTIL_PATH Defines the Path to the base util package, FIXED, do not change ...
- */
- define('HTML_BASE_UTIL_PATH' , HTML_BASE_PATH.'/util');
-
- /**
- * @see HTML_BASE_RESOURCE_PATH.'/Define.php' Define the system constants, must be called before Default.php, FIXED, do not change ...
- */
- if (defined('HTML_BASE_RESOURCE_PATH')) {
- if (file_exists(HTML_BASE_RESOURCE_PATH.'/Define.php')) {
- require_once(HTML_BASE_RESOURCE_PATH.'/Define.php');
- } else {
- die('MYPHP_BASE_PATH/init.php, Unable to include HTML_BASE_RESOURCE_PATH/Define.php from '.HTML_BASE_RESOURCE_PATH);
- }
- }
-
- /**
- * @see HTML_BASE_RESOURCE_PATH.'/Default.php' The Default Package, Define the default values, NOTE: Define.php must be called before this file, FIXED, do not change ...
- */
- if (defined('HTML_BASE_RESOURCE_PATH')) {
- if (file_exists(HTML_BASE_RESOURCE_PATH.'/Default.php')) {
- require_once(HTML_BASE_RESOURCE_PATH.'/Default.php');
- } else {
- die('MYPHP_BASE_PATH/init.php, Unable to include HTML_BASE_RESOURCE_PATH/Default.php from '.HTML_BASE_RESOURCE_PATH);
- }
- }
-
- /**
- * @see HTML_BASE_RESOURCE_PATH.'/Initialize.php' The Base Initialize Package, The Initialize must come before ./config.php and <root>/setup.php, Initializes the Base system with Request params, FIXED, do not change ...
- */
- if (defined('HTML_BASE_RESOURCE_PATH')) {
- if (file_exists(HTML_BASE_RESOURCE_PATH.'/Initialize.php')) {
- require_once(HTML_BASE_RESOURCE_PATH.'/Initialize.php');
- } else {
- die('MYPHP_BASE_PATH/init.php, Unable to include HTML_BASE_RESOURCE_PATH/Initialize.php from '.HTML_BASE_RESOURCE_PATH);
- }
- }
- ?>