first commit
This commit is contained in:
20
plugins/simplesaml/lib/bin/console
Executable file
20
plugins/simplesaml/lib/bin/console
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/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);
|
Reference in New Issue
Block a user