23 lines
822 B
PHP
23 lines
822 B
PHP
<?php
|
|
/*
|
|
* EngineGP (https://enginegp.ru or https://enginegp.com)
|
|
*
|
|
* @copyright Copyright (c) 2018-present Solovev Sergei <inbox@seansolovev.ru>
|
|
*
|
|
* @link https://github.com/EngineGPDev/EngineGP for the canonical source repository
|
|
* @link https://gitforge.ru/EngineGP/EngineGP for the canonical source repository
|
|
*
|
|
* @license https://github.com/EngineGPDev/EngineGP/blob/main/LICENSE MIT License
|
|
* @license https://gitforge.ru/EngineGP/EngineGP/src/branch/main/LICENSE MIT License
|
|
*/
|
|
|
|
if (!DEFINED('EGP'))
|
|
exit(header('Refresh: 0; URL=http://' . $_SERVER['HTTP_HOST'] . '/404'));
|
|
|
|
$title = 'Ответы на вопросы';
|
|
|
|
if (in_array($section, array('answer', 'question', 'search', 'msearch')))
|
|
include(SEC . 'wiki/' . $section . '.php');
|
|
else
|
|
include(SEC . 'wiki/index.php');
|