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

Source for file init.php

Documentation is available at init.php

  1. <?
  2. /**
  3. * The util Package.
  4. * This is the init file for the myPHP Util package
  5. *
  6. * @package util
  7. * @filesource
  8. * @see MYPHP_UTIL_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. * Defines the Path to the Util package, FIXED, do not change ...
  18. * @global HTML_UTIL_PATH Html Util path
  19. */
  20. define('HTML_UTIL_PATH' , MYPHP_UTIL_PATH.'/html');
  21. define('HTML_UTIL_COMPONENT_PATH', HTML_UTIL_PATH.'/component');
  22. define('HTML_UTIL_RESOURCE_PATH' , HTML_UTIL_PATH.'/resource');
  23.  
  24. /**
  25. * Define the system Util constants, FIXED, do not change ...
  26. * must be called before Default.php
  27. * @see HTML_UTIL_RESOURCE_PATH.'/Define.php' The Define Util Package
  28. */
  29. if (defined('HTML_UTIL_RESOURCE_PATH')) {
  30. if (file_exists(HTML_UTIL_RESOURCE_PATH.'/Define.php')) {
  31. require_once(HTML_UTIL_RESOURCE_PATH.'/Define.php');
  32. } else {
  33. die('MYPHP_UTIL_PATH/init.php, Unable to include HTML_UTIL_RESOURCE_PATH/Define.php from '.HTML_UTIL_RESOURCE_PATH);
  34. }
  35. }
  36.  
  37. /**
  38. * Define the default Util values, FIXED, do not change ...
  39. * NOTE: Define.php must be called before this file
  40. * @see HTML_UTIL_RESOURCE_PATH.'/Default.php' The Default Util Package
  41. */
  42. if (defined('HTML_UTIL_RESOURCE_PATH')) {
  43. if (file_exists(HTML_UTIL_RESOURCE_PATH.'/Default.php')) {
  44. require_once(HTML_UTIL_RESOURCE_PATH.'/Default.php');
  45. } else {
  46. die('MYPHP_UTIL_PATH/init.php, Unable to include HTML_UTIL_RESOURCE_PATH/Default.php from '.HTML_UTIL_RESOURCE_PATH);
  47. }
  48. }
  49.  
  50. ?>

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