Админка: телеграф переехал в Chat.

This commit is contained in:
2022-06-11 00:36:30 +03:00
parent 197e489e0e
commit bcd864d638
9 changed files with 21 additions and 29 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ use Battles\Template;
require_once "config.php";
$chat = new Chat(Db::getInstance());
if (!empty($_POST['msg'])) {
$chat->addMessage($_POST['msg']);
$chat->sendMessage($_POST['msg']);
}
Template::header('chat');