Solar_Uri_Action::_preConfig()

protected void Solar_Uri_Action::_preConfig ( void )

Checks the server variables to see if we have a SOLAR_URI_ACTION_PATH value set from Apache; also pre-sets $this->_request.

Parameters

  • None.

Returns

  • (void)

Description

Checks the server variables to see if we have a SOLAR_URI_ACTION_PATH value set from Apache; also pre-sets $this->_request.

In a standard solar system, when mod_rewrite is turned on, it may "SetEnv SOLAR_URI_ACTION_PATH /" as a hint for the default action path. This lets you go from no-rewriting to rewriting in one easy step, rather than having to remember to change the action path in the Solar.config.php file as well.



Local