Jump to content

Manual talk:$wgServerName

Add topic
From mediawiki.org

If you need the servername in code, use:

$serverName = parse_url( $wgServer, PHP_URL_HOST ); // calculate, e.g., xyz.edu from $wgServer = http://xyz.edu -- — Preceding unsigned comment added by G.Hagedorn (talk • contribs) 2011-11-17 21:20 (UTC)

Start a discussion about Manual:$wgServerName

Start a discussion