Interface CgiEnvironmentApi
This enumerated api interface defines the cgi runtime environment.
Enumerated Api Interfaces Enumerated Api Interfaces provide sets of fixed, enumerated values that must maintain consistency, and should not be overridden at compile time.
In some cases, these values are considered absolute, and the program will always reference them as defined. In other cases, they provide baseline definitions, which the individual api implementing them may allow for extension upon. In these cases, the fixed values MAY NOT be removed or altered, but additions and aliases will be allowed for. Check the api of the individual contract being considered for extension for information
how to accomplish this as it applies.
- oroboros\core\interfaces\enumerated\environment\CgiEnvironmentApi implements oroboros\core\interfaces\enumerated\BaseEnumerated
Direct known implementers
oroboros\core\interfaces\enumerated\environment\EnvironmentApi
Package: oroboros\core\environment
Category: enumerated-interfaces
License: The MIT License (MIT)
Author: Brian Dayhoff mopsyd@me.com
Version: 0.2.4-alpha
Since: 0.2.4-alpha
Link: bitbucket.org/oroborosframework/oroboros-core/wiki/development/api/enumerated_api_interface.md
Located at core/interfaces/enumerated/environment/CgiEnvironmentApi.php
Constants summary
|
IS_CLI
Defines if the current request is cli based. This value cannot be overridden. Doing so will cause the system to reference HTTP resources that are not there, and cause errors during cli sessions. |
#
OROBOROS_IS_CLI
|
|
SHELL_ENABLED
Defines if shell is enabled or not. This value can be overridden. define('OROBOROS_SHELL_ENABLED', false); |
#
OROBOROS_SHELL_ENABLED
|
|
SHELL_USER
Defines the username of the server for determining file permissions, etc. This value can be overridden. define('OROBOROS_SHELL_USER', 'username'); |
#
OROBOROS_SHELL_USER
|