Skip to content

Instantly share code, notes, and snippets.

@AlonsoMackenlly
Created March 1, 2021 06:46
Show Gist options
  • Save AlonsoMackenlly/980cd498d9c560358ee3c5daf8352da3 to your computer and use it in GitHub Desktop.
Save AlonsoMackenlly/980cd498d9c560358ee3c5daf8352da3 to your computer and use it in GitHub Desktop.
Авторизация Битрикс из под FTP
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$USER->Authorize(1);
global $USER;
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment