summaryrefslogtreecommitdiff
path: root/pages/terminology.inc
diff options
context:
space:
mode:
Diffstat (limited to 'pages/terminology.inc')
-rw-r--r--pages/terminology.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/terminology.inc b/pages/terminology.inc
index c115bcf..ec810eb 100644
--- a/pages/terminology.inc
+++ b/pages/terminology.inc
@@ -1,6 +1,6 @@
<?php
-require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.inc"; global $title; global $isLoggedIn;
+require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.inc"; global $title; global $isLoggedIn; global $lang; global $pages;
require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc';
?>
@@ -8,7 +8,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc';
<br>
<div class="container">
<div id="page-content">
- <?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/content/terminology.html") ?>
+ <?= file_exists($_SERVER['DOCUMENT_ROOT'] . "/content/terminology.$lang[_name].html") ? file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/content/terminology.$lang[_name].html") : file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/content/terminology.html") ?>
</div>
</div>