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

Source for file init.php

Documentation is available at init.php

  1. <?
  2. /**
  3. * The Base Package.
  4. * This is the init file for the myPHP Base package
  5. *
  6. * @package base
  7. * @filesource
  8. * @see MYPHP_BASE_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 String HTML_BASE_PATH Defines the Path to the packages, FIXED, do not change ...
  18. */
  19. define('HTML_BASE_PATH', MYPHP_BASE_PATH.'/html');
  20.  
  21. /**
  22. * @global String HTML_PATH Defines the Path to the Html.php and Object.php classes, FIXED, do not change ...
  23. */
  24. define('HTML_PATH', HTML_BASE_PATH);
  25.  
  26. /**
  27. * @global String HTML_BASE_PAGE_PATH Defines the Path to base page package, FIXED, do not change ...
  28. */
  29. define('HTML_BASE_PAGE_PATH' , HTML_BASE_PATH.'/page');
  30.  
  31. /**
  32. * @global String HTML_BASE_RESOURCE_PATH Defines the Path to the base resource package, FIXED, do not change ...
  33. */
  34. define('HTML_BASE_RESOURCE_PATH', HTML_BASE_PATH.'/resource');
  35.  
  36. /**
  37. * @global String HTML_BASE_UTIL_PATH Defines the Path to the base util package, FIXED, do not change ...
  38. */
  39. define('HTML_BASE_UTIL_PATH' , HTML_BASE_PATH.'/util');
  40.  
  41. /**
  42. * @see HTML_BASE_RESOURCE_PATH.'/Define.php' Define the system constants, must be called before Default.php, FIXED, do not change ...
  43. */
  44. if (defined('HTML_BASE_RESOURCE_PATH')) {
  45. if (file_exists(HTML_BASE_RESOURCE_PATH.'/Define.php')) {
  46. require_once(HTML_BASE_RESOURCE_PATH.'/Define.php');
  47. } else {
  48. die('MYPHP_BASE_PATH/init.php, Unable to include HTML_BASE_RESOURCE_PATH/Define.php from '.HTML_BASE_RESOURCE_PATH);
  49. }
  50. }
  51.  
  52. /**
  53. * @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 ...
  54. */
  55. if (defined('HTML_BASE_RESOURCE_PATH')) {
  56. if (file_exists(HTML_BASE_RESOURCE_PATH.'/Default.php')) {
  57. require_once(HTML_BASE_RESOURCE_PATH.'/Default.php');
  58. } else {
  59. die('MYPHP_BASE_PATH/init.php, Unable to include HTML_BASE_RESOURCE_PATH/Default.php from '.HTML_BASE_RESOURCE_PATH);
  60. }
  61. }
  62.  
  63. /**
  64. * @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 ...
  65. */
  66. if (defined('HTML_BASE_RESOURCE_PATH')) {
  67. if (file_exists(HTML_BASE_RESOURCE_PATH.'/Initialize.php')) {
  68. require_once(HTML_BASE_RESOURCE_PATH.'/Initialize.php');
  69. } else {
  70. die('MYPHP_BASE_PATH/init.php, Unable to include HTML_BASE_RESOURCE_PATH/Initialize.php from '.HTML_BASE_RESOURCE_PATH);
  71. }
  72. }
  73. ?>

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