<?php

define('unisitecms', true);
session_start();

$config = require "../../../../../config.php";
require_once( $config["basePath"] . "/systems/unisite.php");
require_once( $config["basePath"] . "/" . $config["folder_admin"] . "/lang/" . $settings["lang_admin_default"].".php" );

if( !(new Admin())->accessAdmin($_SESSION['cp_control_settings']) ){
   $_SESSION["CheckMessage"]["warning"] = "Ограничение прав доступа!";
   exit;
}

if(isAjax() == true){

  $install_version = clear($_POST["version"]);

  //$get = file_get_contents_curl('https://api.unisitecloud.ru/updates/get_manually_updates.php?lnc_key='.$settings['lnc_key'].'&current_version='.$settings['system_version'].'&install_version='.$install_version);
    $get = false;

  echo $get;

}  
?>