web/bin/create-invite.php
Corne Oppelaar 23c3cf530e [wip]
2016-06-03 20:13:46 +02:00

15 lines
333 B
PHP

#!/usr/bin/env php
<?php
$basedir = realpath(__DIR__ . '/../');
# All calls are now relative to the root directory
chdir($basedir);
include $basedir . '/vendor/autoload.php';
$core = new \Eater\Glim\Core();
$core->startTimer(["total"]);
$core->boot($basedir);
echo $core->get('user')->createInvite();
$core->endTimer(["total"]);