PHPonTrax
[ class tree: PHPonTrax ] [ index: PHPonTrax ] [ all elements ]

Source for file environment.php

Documentation is available at environment.php

  1. <?php
  2. /**
  3.  *  @package PHPonTrax
  4.  */
  5. # Trax should be able to figure the following 2 settings out
  6. # automatically, but if you have trouble you can set them manually
  7. # define("PHP_LIB_ROOT",    "/usr/local/lib/php");
  8. # define("TRAX_ROOT",       dirname(dirname(__FILE__)));
  9.  
  10. # Uncomment below to force Trax into production mode when 
  11. # you don't control web/app server and can't set it the proper way
  12. # Sets environment from the Apache Vhost (SetEnv TRAX_ENV production)
  13. # or change the string to manually set it. (development | test | production)
  14. # define('TRAX_ENV', $_SERVER['TRAX_ENV'] ? $_SERVER['TRAX_ENV'] : "production");
  15.  
  16. # Bootstrap the Trax environment, framework, and default configuration
  17. include_once(dirname(__FILE__)."/boot.php");
  18.  
  19. # Override the Trax framework default values
  20. # Settings in config/environments/* take precedence those specified here
  21. # Trax::$path_seperator = ":";
  22. # Trax::$url_prefix = "~username";
  23.  
  24. # Include the application environment specific config file
  25.         
  26. # Add new inflection rules using the following format 
  27. # (all these examples are active by default):
  28. # Inflections::plural('/^(ox)$/i', '\1en');
  29. # Inflections::singular('/^(ox)en/i', '\1');
  30. # Inflections::irregular('person', 'people');
  31. # Inflections::uncountable('fish', 'sheep', ['more words'] ...);
  32.  
  33. # Include your application configuration below
  34.  
  35. ?>

Documentation generated on Mon, 21 May 2007 22:28:29 -0600 by phpDocumentor 1.3.2