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

Source for file Configuration.php

Documentation is available at Configuration.php

  1. <?
  2. /**
  3. * Configuration resources for this site
  4. * The configuration resources for this package are defined in this file
  5. *
  6. * @package db
  7. * @filesource
  8. * @see HTML_DB_RESOURCE_PATH/Configuration.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 Prefix to the Database Configuration file
  18. * Note: different files for win and unix
  19. * @global DATABASE_CONFIG_PREFIX The Database Config Prefix name
  20. */
  21. if (!empty($_SERVER['OS']) && $_SERVER['OS']=='Windows_NT') {
  22. define('DATABASE_CONFIG_PREFIX', '/win');
  23. } else {
  24. /**
  25. * @ignore
  26. */
  27. define('DATABASE_CONFIG_PREFIX', '/unix');
  28. }
  29. ?>

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