новые классы

This commit is contained in:
rsgrinko committed 2022-04-18 14:56:56 +03:00
1 parent 1dd190435d
commit 2d168820bc
16 files changed
+522 -21

No files matched your search

+7 -2
View File
@@ -1,7 +1,12 @@
<?php
use Core\ExternalServices\Telegram;
use Core\Models\User;
use Core\Helpers\SystemFunctions;
require_once $_SERVER['DOCUMENT_ROOT'] . '/core/bootstrap.php';
Telegram::init('5232660453:AAGfMWu6EcRfBGSSURJsEEvGPmAqhCyzYHU', './');
Telegram::execute(412790359, 'Hello from test site');
User::authorize(2);
$res = User::getFields();
echo SystemFunctions::arrayToTable($res, 'Информация о пользователе');