12 lines
260 B
PHP
12 lines
260 B
PHP
<?php $app = require '../../../app/inc.php';
|
|
|
|
$baton_reader = $app->model('BatonReader');
|
|
|
|
$cardnumber = (string)filter_input(INPUT_GET, 'cardnumber');
|
|
|
|
$app->api(
|
|
$baton_reader->receive(
|
|
$cardnumber,
|
|
$app->config['baton_cooldown']
|
|
)
|
|
); |