Jacek Kowalski
2016-02-12 ddfb6ac0d4ebfebc66489f1822c6457cd0ca0a18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
class BotMessageHTTP extends BotMessage {
    function __construct() {
        session_start();
        
        $uid = 'HTTP://'.session_id().'@localhost';
        
        $this->user = new BotUser($uid);
        $this->userAlt = $this->user;
        $this->session = new BotSession($uid);
        $this->setText($_GET['msg']);
    }
}
?>