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

Procedural File: environment.php

Source Location: /data/config/environment.php



Page Details:

Trax runtime environment definitions



Tags:

filesource:  Source Code for this file


Includes:

include_once(action_controller.php) [line 159]
include_once(action_view.php) [line 158]
include_once(active_record.php) [line 157]
include_once(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['environments']."/".TRAX_MODE.".php") [line 171]
include_once(router.php) [line 162]
include_once(dispatcher.php) [line 161]
include_once(action_mailer.php) [line 160]
include_once(session.php) [line 153]
include_once(input_filter.php) [line 154]
include_once(trax_exceptions.php) [line 155]
include_once(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['app']."/application_mailer.php") [line 166]
include_once(inflector.php) [line 156]





DEBUG [line 116]

DEBUG = true
Whether to generate debugging messages and send errors to the browser

The 'display_errors' PHP configuration setting determines whether error messages should be sent to the browser. It should be false for production systems. DEBUG is a define that you can test for your own purposes.



[ Top ]



PHP_LIB_ROOT [line 17]

PHP_LIB_ROOT = "@PHP-DIR@"
Location of the PEAR library on this system

Set automatically by the Pear installer when you install Trax with the pear install command. If you are prevented from using pear install, change "@PHP-DIR@" by hand to the full filesystem path of the location where you installed the Pear modules needed by Trax.



[ Top ]



TRAX_LIB_ROOT [line 136]

TRAX_LIB_ROOT = TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['vendor']."/trax"
Define location of the Trax PHP modules

Should we use local copy of the Trax libs in vendor/trax or the server Trax libs in the php libs dir defined in PHP_LIB_ROOT



[ Top ]



TRAX_MODE [line 65]

TRAX_MODE = $_SERVER['TRAX_MODE']
Trax mode of operation

Must be one of: 'development', 'test' or 'production'. May be set in the Apache configuration with the SetEnv directive. If not set there, then it must be set here.



[ Top ]



TRAX_PUBLIC [line 35]

TRAX_PUBLIC = dirname(dirname(dirname(__FILE__)))."/public"
Location of the directory exposed to the public by Apache.

The trax command generates this as TRAX_ROOT/public/ but you will probably want to move the files in public/ to somewhere under Apache DocumentRoot. Change the second argument to the full filesystem path to the directory that holds the files generated in public/



[ Top ]



TRAX_ROOT [line 23]

TRAX_ROOT = dirname(dirname(__FILE__))."/"
Location of the directories constructed by the trax command.


[ Top ]



TRAX_URL_PREFIX [line 47]

TRAX_URL_PREFIX = null
Part of URL between domain name and Trax application

That part of the browser's URL after the domain name and before the location described by TRAX_PUBLIC. If TRAX_PUBLIC is the same as Apache DocumentRoot, then TRAX_URL_PREFIX is null.



[ Top ]



TRAX_VIEWS_EXTENTION [line 52]

TRAX_VIEWS_EXTENTION = "phtml"
The file extension of files in app/views. Normally '.phtml'


[ Top ]




__autoload [line 181]

void __autoload( string $class_name)

Automatically load a file containing a specified class

Given a class name, derive the name of the file containing that class then load it.




Parameters

string   $class_name   class_name Name of the class required
[ Top ]



Documentation generated on Thu, 04 May 2006 19:47:33 -0600 by phpDocumentor 1.3.0RC4