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
| server { | |
| listen 80 default_server; | |
| server_name example.com www.example.com; | |
| access_log /srv/www/example.com/logs/access.log; | |
| error_log /srv/www/example.com/logs/error.log; | |
| root /srv/www/example.com/public; | |
| index index.php index.html; |
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 | |
| /** | |
| * Вывести сгенерированный D7 ядром SQL запрос | |
| */ | |
| //... | |
| $oConnection = Application::getConnection(); | |
| $oTracker = $oConnection->startTracker(); | |
| Base::getInstance($tablePath)->createDbTable(); |
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 | |
| /** | |
| * Сборка модуля для маркетплейс: | |
| * 1. Получение всех файлов модуля. | |
| * 2. Перекодировка и копирование всех файлов из utf8 в windows-1251. | |
| * 3. Сборка архива .last_version.zip для загрузки в битрикс маркетплейс. | |
| * 4. Удаление временной директории. | |
| * | |
| * @author Roman Shvykov <roman_shvykov@mail.ru> | |
| * @license MIT |