uawdijnntqw1x1x1
IP : 216.73.216.163
Hostname : yjpwxulqtt
Kernel : Linux yjpwxulqtt 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen
OS : Linux
PATH:
/
home
/
user
/
web
/
pansionat-v-yaroslavle.ru
/
public_html
/
bitrix
/
modules
/
forum
/
install
/
do_install2.php
/
/
<?if(!check_bitrix_sessid()) return; IncludeModuleLangFile(__FILE__); if(is_array($GLOBALS["errors"]) && count($GLOBALS["errors"])>0): echo CAdminMessage::ShowMessage(Array("TYPE"=>"ERROR", "MESSAGE" =>GetMessage("MOD_INST_ERR"), "DETAILS"=>implode("<br>", $GLOBALS["errors"]), "HTML"=>true)); else: echo CAdminMessage::ShowNote(GetMessage("MOD_INST_OK")); endif; if ($_REQUEST["INSTALL_PUBLIC"] == "Y" && is_array($_REQUEST["PUBLIC_INFO"]) && !empty($_REQUEST["PUBLIC_INFO"])) { $bREWRITE = ($_REQUEST["REWRITE_PUBLIC"] == "Y" ? true : false); foreach ($_REQUEST["PUBLIC_INFO"] as $res) { // Fatal errors if (!is_array($res) || empty($res)) continue; // Errors $res["ID"] = intVal($res["ID"]); $res["PATH"] = htmlspecialcharsbx(trim($res["PATH"])); $res["MODE"] = ($res["MODE"] == "sef" ? "sef" : "nsef"); if (strLen($res["PATH"]) <= 0) { ?><?=$res["ID"]?>. <?=GetMessage("FORUM_BAD_PATH")?><? continue; } $res["~PATH"] = preg_replace("/[\/\\\]+/", "/", "/".$res["PATH"]."/"); $res["PATH"] = preg_replace("/[\/\\\]+/", "/", $_SERVER["DOCUMENT_ROOT"]."/".$res["PATH"]."/"); CheckDirPath($res["PATH"]); $fileExistBefore = file_exists($res["PATH"]."index.php"); CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/forum/install/public/components/".$res["MODE"], $res["PATH"], $bREWRITE, true); if ($res["MODE"] == "sef" && (!$fileExistBefore || $bREWRITE) && file_exists($res["PATH"]."index.php")) { $file = file_get_contents($res["PATH"]."index.php"); if ($file) { $file = str_replace("#SEF_FOLDER#", $res["~PATH"], $file); if ($f = fopen($res["PATH"]."index.php", "w")) { @fwrite($f, $file); @fclose($f); } } $arFields = array( "CONDITION" => "#^".$res["~PATH"]."#", "RULE" => "", "ID" => "bitrix:forum", "PATH" => $res["~PATH"]."index.php" ); CUrlRewriter::Add($arFields); } ?><p><a href="<?=$res["~PATH"]?>"><?=$res["~PATH"]?></a></p><? } } ?><form action="<?=$APPLICATION->GetCurPage()?>"> <input type="hidden" name="lang" value="<?=LANG?>"> <input type="submit" name="" value="<?=GetMessage("MOD_BACK")?>"> <form><?
/home/user/web/pansionat-v-yaroslavle.ru/public_html/bitrix/modules/forum/install/do_install2.php