| @@ 16-22 (lines=7) @@ | ||
| 13 | include_once __DIR__ . '/include/functions.php'; |
|
| 14 | global $wikiPage; |
|
| 15 | ||
| 16 | if (isset($_GET['page'])) { |
|
| 17 | $page = $wikiPage->normalizeKeyword(cleaner($_GET['page'])); |
|
| 18 | $pageX = $wikiPage->getPage($page); |
|
| 19 | } else { |
|
| 20 | $page = false; |
|
| 21 | $pageX = false; |
|
| 22 | } |
|
| 23 | ||
| 24 | if ($page && $pageX) { |
|
| 25 | header('Content-type: text/plain'); |
|
| @@ 16-22 (lines=7) @@ | ||
| 13 | include_once 'include/functions.php'; |
|
| 14 | global $wikiPage; |
|
| 15 | ||
| 16 | if (isset($_GET['page'])) { |
|
| 17 | $page = $wikiPage->normalizeKeyword(cleaner($_GET['page'])); |
|
| 18 | $pageX = $wikiPage->getPage($page); |
|
| 19 | } else { |
|
| 20 | $page = false; |
|
| 21 | $pageX = false; |
|
| 22 | } |
|
| 23 | ||
| 24 | if ($page && $pageX) { |
|
| 25 | header('Content-type: text/plain'); |
|