17 lines
365 B
PHP
Executable File
17 lines
365 B
PHP
Executable File
#!/usr/bin/php
|
|
<?php
|
|
|
|
use Icinga\Application\Cli;
|
|
use Icinga\Cli\Params as CliParams;
|
|
use Icinga\Application\Benchmark;
|
|
|
|
set_include_path(
|
|
realpath(dirname(__FILE__) . '/../library/')
|
|
. ':' . get_include_path()
|
|
);
|
|
|
|
require_once 'Icinga/Application/Cli.php';
|
|
date_default_timezone_set('UTC');
|
|
$app = Cli::start(dirname(__FILE__) . '/../config/')->dispatch();
|
|
|