Skip to content

Instantly share code, notes, and snippets.

@Rexagon
Created October 30, 2016 20:03
Show Gist options
  • Save Rexagon/0c34b6e2b456f76232a5039c57e79751 to your computer and use it in GitHub Desktop.
Save Rexagon/0c34b6e2b456f76232a5039c57e79751 to your computer and use it in GitHub Desktop.
Bitrix auth
<?php
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
$USER->Authorize(1);
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_after.php");
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment