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

Source for file init.php

Documentation is available at init.php

  1. <?
  2. /**
  3. * The Page Package.
  4. * This is the init file for the myPHP Page package
  5. *
  6. * @package page
  7. * @filesource
  8. * @see MYPHP_PAGE_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 HTML_PAGE_PATH Defines the Path to the Page package, FIXED, do not change ...
  18. */
  19. define('HTML_PAGE_PATH' , MYPHP_PAGE_PATH.'/html');
  20. define('HTML_PAGE_COMPONENT_PATH', HTML_PAGE_PATH.'/component');
  21. define('HTML_PAGE_UTIL_PATH' , HTML_PAGE_PATH.'/util');
  22. define('HTML_PAGE_RESOURCE_PATH' , HTML_PAGE_PATH.'/resource');
  23.  
  24. /**
  25. * Define the system Page constants, FIXED, do not change ...
  26. * must be called before Default.php
  27. * @global HTML_PAGE_RESOURCE_PATH.'/Define.php'
  28. */
  29. if (defined('HTML_PAGE_RESOURCE_PATH')) {
  30. if (file_exists(HTML_PAGE_RESOURCE_PATH.'/Define.php')) {
  31. require_once(HTML_PAGE_RESOURCE_PATH.'/Define.php');
  32. } else {
  33. die('MYPHP_PAGE_PATH/init.php, Unable to include HTML_PAGE_RESOURCE_PATH/Define.php from '.HTML_PAGE_RESOURCE_PATH);
  34. }
  35. }
  36.  
  37. ?>

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