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.

18 lines
369 B
PHP

#!/usr/bin/env php
<?php
/**
* Autodoc.
*
* Usage simplifié pour SPIP de phpDocumentor.
*/
$autoloader = __DIR__ . '/../vendor/autoload.php';
if (! file_exists($autoloader) || ! is_readable($autoloader)) {
throw new \RuntimeException('Unable to find autoloader at ' . $autoloader);
}
require $autoloader;
$app = new Spip\Autodoc\Application();
$app->run();