- <?
- /**
- * The DB Package.
- * This is the init file for the myPHP DB package
- *
- * @package db
- * @filesource
- * @see MYPHP_DB_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 HTML_DB_PATH Defines the Path to each package, FIXED, do not change
- */
- define('HTML_DB_PATH' , MYPHP_DB_PATH.'/html');
- define('HTML_DB_DATABASE_PATH' , HTML_DB_PATH.'/mysql');
- define('HTML_DB_RESOURCE_PATH' , HTML_DB_PATH.'/resource');
- define('HTML_DB_QUERY_PATH' , HTML_DB_PATH.'/query');
- define('HTML_DB_TEST_PATH' , HTML_DB_PATH.'/test');
- define('HTML_DB_VIEW_PATH' , HTML_DB_PATH.'/view');
-
- /**
- * Define the system constants, FIXED, do not change ...
- * must be called before Default.php
- * @see HTML_DB_RESOURCE_PATH.'/Define.php', The Define Package
- */
- if (defined('HTML_DB_RESOURCE_PATH')) {
- if (file_exists(HTML_DB_RESOURCE_PATH.'/Define.php')) {
- require_once(HTML_DB_RESOURCE_PATH.'/Define.php');
- } else {
- die('MYPHP_DB_PATH/init.php, Unable to include HTML_DB_RESOURCE_PATH/Define.php from '.HTML_DB_RESOURCE_PATH);
- }
- }
-
- /**
- * Define the default values, FIXED, do not change ...
- * NOTE: Define.php must be called before this file
- * @see HTML_DB_RESOURCE_PATH.'/Default.php', The Default Package
- */
- if (defined('HTML_DB_RESOURCE_PATH')) {
- if (file_exists(HTML_DB_RESOURCE_PATH.'/Default.php')) {
- require_once(HTML_DB_RESOURCE_PATH.'/Default.php');
- } else {
- die('MYPHP_DB_PATH/init.php, Unable to include HTML_DB_RESOURCE_PATH/Default.php from '.HTML_DB_RESOURCE_PATH);
- }
- }
- ?>