новые классы
This commit is contained in:
1 parent
1dd190435d
commit
2d168820bc
16 files changed
+522
-21
No files matched your search
@@ -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, 'Информация о пользователе');
|
||||
Reference in new issue
Block a user