bitrixcloud :: DoInstall: Bitrix method

      
<?php 
//  bitrixcloud :: DoInstall()
//  /dist/bitrix/modules/bitrixcloud/install/index.php:130

    
function DoInstall()
    {
        global 
$USER$APPLICATION$step;
        if (
$USER->IsAdmin())
        {
            
$step IntVal($step);
            if (
$step 2)
            {
                
$APPLICATION->IncludeAdminFile(GetMessage("BCL_INSTALL_TITLE"), $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/bitrixcloud/install/step1.php");
            }
            elseif (
$step == 2)
            {
                if (
$this->InstallDB())
                {
                    
$this->InstallEvents();
                    
$this->InstallFiles();
                }
                
$GLOBALS["errors"] = $this->errors;
                
$APPLICATION->IncludeAdminFile(GetMessage("BCL_INSTALL_TITLE"), $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/bitrixcloud/install/step2.php");
            }
        }
    }