2024-01-25 13:01:25 +00:00
|
|
|
#!/usr/bin/env php
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
use Bouncer\Bouncer;
|
2024-05-18 08:41:43 +00:00
|
|
|
define("APP_ROOT", realpath(__DIR__ . "/../"));
|
2024-05-19 01:21:05 +00:00
|
|
|
# If vendor/autoload.php does not exist, we should bomb out and scream
|
|
|
|
|
if (!file_exists(APP_ROOT . '/vendor/autoload.php')) {
|
|
|
|
|
echo "You must run composer install before running this script\n";
|
|
|
|
|
exit(1);
|
|
|
|
|
}
|
2024-01-25 13:01:25 +00:00
|
|
|
require_once APP_ROOT . '/vendor/autoload.php';
|
|
|
|
|
|
|
|
|
|
(new Bouncer())->run();
|