123456789101112131415161718192021222324252627 |
- <?
- use Doctrine\Common\Collections\ArrayCollection;
- use Doctrine\Common\Collections\Collection;
- use Doctrine\Common\Collections\Criteria;
- require_once "doctrine/bootstrap.php";
- require_once "functions.php";
- //require_once "server.php";
- require_once "auth.php";
- require_once 'CheckPoint.php';
- require_once 'CheckPointType.php';
- use \CheckPoints\CheckPoint;
- require_once 'api/vendor/autoload.php';
- require_once 'api/vendor/yiisoft/yii2/Yii.php';
- $config = require_once 'api/config/web.php';
- (new yii\web\Application($config));
- $id = $_REQUEST["id"];
- $acc = Account::Find($id);
- $tagid = GetVagrantTagID($id);
- echo $tagid;
- VagrantRequest($acc->id, $tagid, $acc->name, 1,1);
- //EmployeeTag attach/detach method Error: SMoPPEmployeeTagService AddEvent Error: An exception occurred while receiving a message from the server.
|