Слияние кода завершено, страница обновится автоматически
<?php
session_start();
//Vars
require_once('./include/setting_oj.inc.php');
require_once('./include/Parsedown.php');
//Prepares
$useThisFile = "FAQ.md";
$atThisPath = "./pages/documents/";
$processingFileName = "";
$content = "Failed to load document or document not exist.";
if(isset($_REQUEST['f']) && trim($_REQUEST['f'])!="") {
$processingFileName = $_REQUEST['f'];
} else {
$processingFileName = "FAQ";
}
if(is_file("{$atThisPath}custom/{$processingFileName}.{$OJ_LANGUAGE}.md")) {
$atThisPath = "{$atThisPath}custom/";
$useThisFile = "{$processingFileName}.{$OJ_LANGUAGE}.md";
} else if(is_file("{$atThisPath}custom/{$processingFileName}.md")) {
$atThisPath = "{$atThisPath}custom/";
$useThisFile = "{$processingFileName}.md";
} else if(is_file("{$atThisPath}{$processingFileName}.{$OJ_LANGUAGE}.md")) {
$useThisFile = "{$processingFileName}.{$OJ_LANGUAGE}.md";
} else if (is_file("{$atThisPath}{$processingFileName}.md")) {
$useThisFile = "{$processingFileName}.md";
}
if (is_file("{$atThisPath}{$useThisFile}")) {
$content = file_get_contents("{$atThisPath}{$useThisFile}");
}
//Page Includes
require("./pages/document.php");
?>
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )