Rev 360 | Rev 496 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 360 | Rev 472 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | * limitations under the License. |
17 | * limitations under the License. |
18 | */ |
18 | */ |
19 | 19 | ||
20 | require_once __DIR__ . '/includes/oidplus.inc.php'; |
20 | require_once __DIR__ . '/includes/oidplus.inc.php'; |
21 | 21 | ||
22 | header('Content-Type:text/html; charset=UTF-8'); |
22 | header('Content-Type:text/text; charset=UTF-8'); |
23 | 23 | ||
24 | OIDplus::init(true); |
24 | OIDplus::init(false); |
25 | 25 | ||
26 | # --- |
26 | # --- |
27 | 27 | ||
28 | header('Content-Type:text/plain'); |
- | |
29 | - | ||
30 | $non_default_languages = array(); |
28 | $non_default_languages = array(); |
31 | foreach (OIDplus::getAvailableLangs() as $code) { |
29 | foreach (OIDplus::getAvailableLangs() as $code) { |
32 | if ($code == OIDplus::DEFAULT_LANGUAGE) continue; |
30 | if ($code == OIDplus::DEFAULT_LANGUAGE) continue; |
33 | $non_default_languages[] = $code; |
31 | $non_default_languages[] = $code; |
34 | } |
32 | } |