jServer

Static class providing some utilities to retrieve informations about the server

package

jelix

subpackage

core

since

Jelix 1.3.2

Methods

tells if we are in a CLI (Command Line Interface) context or not.

isCLI() : boolean
static

If this is the case, fills some missing $_SERVER variables when cgi is used

Response

boolean

true if we are in a CLI context