mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-25 18:42:31 +01:00
17 lines
387 B
PHP
17 lines
387 B
PHP
|
<?php
|
||
|
|
||
|
use Sami\Sami;
|
||
|
use Symfony\Component\Finder\Finder;
|
||
|
|
||
|
$iterator = Finder::create()
|
||
|
->files()
|
||
|
->name('*.php')
|
||
|
->in($dir = __DIR__ . '/app');
|
||
|
|
||
|
return new Sami($iterator, array(
|
||
|
'title' => 'Pterodactyl',
|
||
|
'build_dir' => __DIR__ . '/.sami/build',
|
||
|
'cache_dir' => __DIR__ . '/.sami/cache',
|
||
|
'default_opened_level' => 2,
|
||
|
));
|