Skip to content

Instantly share code, notes, and snippets.

@MrWhiteD
Last active February 8, 2024 06:34
Show Gist options
  • Save MrWhiteD/4e84ccd8bafe222a9f194979fd9031ce to your computer and use it in GitHub Desktop.
Save MrWhiteD/4e84ccd8bafe222a9f194979fd9031ce to your computer and use it in GitHub Desktop.
[BITIRX. Как восстановить доступ администратора на сайт] https://dev.1c-bitrix.ru/learning/course/index.php?COURSE_ID=35&LESSON_ID=2161 #bitrix #битрикс #bitrixsecurity #bitrixauth #admin
<?php
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
global $USER;
$USER->Authorize(1);
header('Location: /bitrix/admin/');
unlink(__FILE__);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment