You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
web/bin/create-invite.php

16 lines
333 B
PHTML

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