This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Обновление капчи */ | |
| $('#captcha_img').on('click', function () { | |
| BX.ajax.getCaptcha(function(result) { | |
| $('#captcha_sid').val(result["captcha_sid"]); | |
| $('#captcha_word').val(''); | |
| $('#captcha_img').attr('src', '/bitrix/tools/captcha.php?captcha_code='+result["captcha_sid"]); | |
| }); | |
| }); | |
| ----------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Bitrix\Main\Config as Conf; | |
| $configuration = Conf\Configuration::getInstance(); | |
| //get | |
| $handl = $configuration->get('exception_handling'); | |
| //add | |
| $configuration->add('exception_handling', $handl); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| в .htaccess | |
| SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| appwiz.cpl - Установка и удаление программ | |
| certmgr.msc - Сертификаты | |
| ciаdv.msc - Служба индексирования | |
| cliconfg - Программа сетевого клиента SQL | |
| clipbrd - Буфер обмена | |
| compmgmt.msc - Управление компьютером | |
| dcomcnfg - Консоль управления DCOM компонентами | |
| ddeshare - Общие ресурсы DDE (на Win7 не работает) | |
| desk.cpl - Свойства экрана | |
| devmgmt.msc — Диспетчер устройств |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1 система обновлений выдает ERRДоступ запрещен. Не работает site_checker, upload файлов etc | |
| // Вместо "main.ru - свой домен | |
| COption::SetOptionString("main","server_name","main.ru"); | |
| COption::SetOptionString("main","site_name","main.ru"); | |
| // Убераем из Нстройки - Сайты - Список сайтов (в активный сайт ) | |
| $obSite = new CSite(); | |
| $t = $obSite->Update("s1", array( | |
| 'ACTIVE' => "Y", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| API D7 работа с Highload блокам в Битрикс | |
| Подключаем модуль для работы с highloadblock блоками | |
| Старый способ | |
| CModule::IncludeModule("highloadblock"); | |
| Новый способ в ядре d7 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://marketplace.1c-bitrix.ru/solutions/phpdevorg.cprop/ | |
| https://marketplace.1c-bitrix.ru/solutions/simai.complexprop/#tab-about-link |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://htaccess.madewithlove.com/?share=764a6442-3d6a-4cc0-b8ea-3b2c1c212672 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Чтобы выбрать редактором по умолчанию mcedit, необходимо выполнить | |
| export EDITOR=mcedit | |
| Ура! Теперь можно редактировать задачи привычным способом: по команде | |
| crontab -e | |
| видим окно любимого mcedit! |
NewerOlder