21 lines
427 B
PHP
Executable File
21 lines
427 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use SimpleSAML\Console\Application;
|
|
use SimpleSAML\Kernel;
|
|
use Symfony\Component\Console\Input\ArgvInput;
|
|
|
|
umask(000);
|
|
set_time_limit(0);
|
|
|
|
require __DIR__.'/../vendor/autoload.php';
|
|
|
|
$input = new ArgvInput();
|
|
$module = $input->getParameterOption(['--module', '-m'], 'core');
|
|
$kernel = new Kernel($module);
|
|
|
|
$application = new Application($kernel);
|
|
$application->run($input);
|