Method: server::get

Gets a value from the _SERVER array

Info

Syntax

server::get($key=false, $default=null)

Parameters

Return (mixed)

Example


server::get('document_root');
// sample output: /var/www/kirby

server::get();
// returns the whole server array