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
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJ/ggKdYftBzj9H9Onf+VtWhC7+j1UXbrnsVuWrTUfWZ+NHE44tBDZVQ00AjVjNx+ai/Moa8QIG0qvZNCM9TpXTQRn+VGGBLpAYnuhc22UTPf7x85k+qU/t1vJOlYkFa7sQshJTLKjWv1ioPiECDJa6rCikG8iyRSgFKfSwCEDYs1hBxXmiJvBSIXhkFXy754qZpk1/5u9hkGsglFEeBFDhRfZqkkMkwxhqLF3kV1yagE6iqh8YxMCHMoVBvjEAh/2A6UHQtwRKLrUyM+4vyKdNLA4owvqXxPEB/MT3AIvSNFgaPCu70W1D8VdPpxiEvNXB9UUprudMyQHBhFv9tLl |
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_version := "7.3" }} | |
| {{ $container_workdir := "/usr/src/app" }} | |
| {{ $base_image_name := "fpm-base" }} | |
| {{ $builder_image_name := "builder" }} | |
| {{ $app_image_name := "app-fpm" }} | |
| configVersion: 1 | |
| project: symfony-api |
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
| <pre> | |
| <?php | |
| putenv('COMPOSER_HOME=/home/bitrix/.composer/'); | |
| $commands = [ | |
| 'git add --all', | |
| 'git commit -m "Changes on production"', | |
| 'git pull origin master', | |
| 'git checkout --theirs .', | |
| 'git commit -am "Remote Conflict"', | |
| 'git push origin master', |
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\IO\FileNotFoundException; | |
| use Gregwar\Image\Image; | |
| class BaseComponent extends CBitrixComponent | |
| { | |
| const RESIZE_CACHE = '/upload/resize_cache'; | |
| const ORDER_BY_DATE = 'date'; | |
| const ORDER_BY_NAME = 'name'; |
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 | |
| namespace Events; | |
| use Bitrix\Main\Event; | |
| use Bitrix\Main\EventResult; | |
| use Misc\TwigExtension; | |
| class Twig | |
| { | |
| public static function addTwigExtension(Event $e) |
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 | |
| /** | |
| * @global $APPLICATION CMain | |
| */ | |
| use Bitrix\Main\Loader; | |
| use Bitrix\Sale; | |
| define("STOP_STATISTICS", true); | |
| define("PUBLIC_AJAX_MODE", true); |
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 | |
| /** | |
| * @global $APPLICATION CMain | |
| */ | |
| use Bitrix\Main\Loader; | |
| use Bitrix\Sale; | |
| define("STOP_STATISTICS", true); | |
| define("PUBLIC_AJAX_MODE", true); |
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 | |
| /** | |
| * @global CUser $USER | |
| * | |
| * @var $APPLICATION CMain | |
| */ | |
| $_SERVER["DOCUMENT_ROOT"] = __DIR__ . '/../../'; | |
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 | |
| require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); | |
| require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php"); | |
| CJSCore::Init(array("jquery")); | |
| $APPLICATION->SetTitle('Массовая рассылка СМС'); | |
| $MESS["ERR_1"] = "недостаточно средств"; | |
| $MESS["ERR_2"] = "неправильный логин или пароль (ошибка при аутентификации)"; |
NewerOlder