[ Index ]
 

Code source de PHPonTrax 2.6.6-svn

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/config/ -> environment.php (source)

   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  Trax::include_env_config();
  26          
  27  # Add new inflection rules using the following format 
  28  # (all these examples are active by default):
  29  # Inflections::plural('/^(ox)$/i', '\1en');
  30  # Inflections::singular('/^(ox)en/i', '\1');
  31  # Inflections::irregular('person', 'people');
  32  # Inflections::uncountable('fish', 'sheep', ['more words'] ...);
  33  
  34  # Include your application configuration below
  35  
  36  ?>


Généré le : Sun Feb 25 20:04:38 2007 par Balluche grâce à PHPXref 0.7