mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-25 02:22:36 +01:00
Store sami configuration for others to use.
This commit is contained in:
parent
0312c974f5
commit
c98d1dda26
3
.gitignore
vendored
3
.gitignore
vendored
@ -12,5 +12,4 @@ _ide_helper_models.php
|
||||
_ide_helper.php
|
||||
|
||||
sami.phar
|
||||
sami.config.php
|
||||
/sami
|
||||
/.sami
|
||||
|
16
.sami.php
Normal file
16
.sami.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?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,
|
||||
));
|
Loading…
Reference in New Issue
Block a user