Describe the technical changes you did.
Describe the issue you are solving.
Let us know if this is related to any issue/ticket/pull request.
| MYSQL_PORT=33060 | |
| NGINX_PORT=80 | |
| PROJECT_NAME=tao |
| $get = $modx->sanitize($_GET); | |
| if (!$get['day']) { | |
| $now = time(); | |
| $day = date('Y-m-d', $now); | |
| } | |
| $day = $get['day']; | |
| $step = 15; // minutes |
| <?php | |
| if ('OnManagerPageBeforeRender' !== $modx->event->name) { | |
| return; // exit if any other event happened | |
| } | |
| if ('system/settings' !== $_GET['a']) { | |
| return; // exit if any other page than system settings loaded | |
| } |
| <?php | |
| /** | |
| Скрипт, который позволяет принимать запросы от shopmanager и обновлять информацию на сайте на базе MODX и miniSgop2, | |
| при включенной интеграции. | |
| Скрипт не закончен, потому использовать на свой страх и риск. | |
| */ | |
| declare(strict_types = 1); |