Skip to content

Instantly share code, notes, and snippets.

@sidor1989
Created December 9, 2020 20:07
Show Gist options
  • Save sidor1989/fbd2a5868b935d54538fd5c8774084e9 to your computer and use it in GitHub Desktop.
Save sidor1989/fbd2a5868b935d54538fd5c8774084e9 to your computer and use it in GitHub Desktop.
<? require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php");
global $USER;
$USER->Authorize(1);
@unlink(__FILE__);
LocalRedirect("/bitrix/admin/");
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