This commit is contained in:
Denny Dai
2015-07-08 16:13:12 +08:00
parent 725fc82dc0
commit 397031ec56
8 changed files with 22 additions and 6 deletions
-1
View File
@@ -1,5 +1,4 @@
<?php
namespace DBot;
class Base
{
public function exec($command, $data = null)
+1 -1
View File
@@ -1,5 +1,5 @@
<?php
$BOT = new DBot\Base;
$BOT = new Base;
$GET = json_decode(file_get_contents("php://input"),true);
//is group?
-1
View File
@@ -1,5 +1,4 @@
<?php
namespace DBot;
class Base
{
protected $_fp;
+1 -1
View File
@@ -1,5 +1,5 @@
<?php
$BOT = new DBot\Base('unix:///tmp/tg.sck');
$BOT = new Base('unix:///tmp/tg.sck');
if($_GET['from'] != escapePeer(BOT_NAME)){
//is group?
if ($_GET['to'] == escapePeer(BOT_NAME)) {