Help:Extension/GetEnvironment
From Metabolomics.JP
(Difference between revisions)
(Created page with "{{Extension |author=K, Suwa |version=0.1 }} __TOC__ 環境変数を取得するextensionです。 取得できる環境変数はHTTP_ACCEPT_LANGUAGEのみです。 == Requirem...") |
|||
Line 15: | Line 15: | ||
<table border="1" cellpadding="3" cellspacing="1"> | <table border="1" cellpadding="3" cellspacing="1"> | ||
<tr><td>version</td><td>source</td><td>md5</td><td>OperationCheck version</td></tr> | <tr><td>version</td><td>source</td><td>md5</td><td>OperationCheck version</td></tr> | ||
− | <tr><td>0.1(April 23,2010)</td><td>{{#ifexistfile:/data/src/GetEnvironment/GetEnvironment.phps}}</td><td><pre style="border: 0px; background-color: white; padding: 0em; line-height: 0em"></pre></td><td>1.11.1</td></tr> | + | <tr><td>0.1(April 23,2010)</td><td>{{#ifexistfile:/data/src/GetEnvironment/GetEnvironment.phps}}</td><td><pre style="border: 0px; background-color: white; padding: 0em; line-height: 0em">35a3028c1584a5fc0e0810206b92486a</pre></td><td>1.11.1</td></tr> |
</table> | </table> | ||
Revision as of 21:54, 16 February 2011
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