web/wp-content/plugins/ghost-runner/plugin.php
/**
 * Get value form ENV var, constant or default in that order.
 *
 * @param string $var Name of variable
 * @param null|mixed $default Optional. Default value if not set in either location. Default is null.
 *
 * @return mixed|null
 */
Get value form ENV var, constant or default in that order.
@param string $var Name of variable
@param null|mixed $default Optional. Default value if not set in either location. Default is null.

@return mixed|null
Get value form ENV var constant or default in that order . @param string $var Name of variable @param null|mixed $default Optional . Default value if not set in either location . Default is null . @return mixed|null
function calderaGhostRunnerEnv( $var, $default = null ){
	$value = getenv( $var );
	if( is_null( $value ) && defined( strtoupper( $var ) ) ){
		$value = constant( strtoupper( $var ) );
	}
	if( is_null( $value ) ){
		$value = $default;
	}
	return apply_filters( 'calderaGhostRunner.env.'. $var, $value );
}
function calderaGhostRunnerEnv ( $ var , $ default = null ) { $ value = getenv ( $ var ) ; if ( is_null ( $ value ) && defined ( strtoupper ( $ var ) ) ) { $ value = constant ( strtoupper ( $ var ) ) ; } if ( is_null ( $ value ) ) { $ value = $ default ; } return apply_filters ( 'calderaGhostRunner.env.' . $ var , $ value ) ; }
Get value form ENV var, constant or default in that order.
Get value form ENV var constant or default in that order .
/**
	 * Change value of env var
	 */