Help:Extension/GetEnvironment
From Metabolomics.JP
Extension Information | |
Implementation | |
Description | |
Author(s) | K, Suwa |
Version | 0.1 |
MediaWiki | |
License | |
Hooks used | |
Token type | |
Contents |
環境変数を取得するextensionです。
取得できる環境変数はHTTP_ACCEPT_LANGUAGEのみです。
Requirements
None
Download
version | source | md5 | OperationCheck version |
0.1(April 23,2010) | GetEnvironment.phps | 35a3028c1584a5fc0e0810206b92486a | 1.11.1 |
Installtion
- Download the source code and rename it to GetEnvironment.php.
- Place it in the extensions/ directory.
- Insert the follow lines to LocalSettings.php
require_once( "$IP/extensions/GetEnvironment.php" );
Function
- getenv