1
1
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:
Dane Everitt 2017-03-19 19:51:26 -04:00
parent 0312c974f5
commit c98d1dda26
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
2 changed files with 17 additions and 2 deletions

3
.gitignore vendored
View File

@ -12,5 +12,4 @@ _ide_helper_models.php
_ide_helper.php
sami.phar
sami.config.php
/sami
/.sami

16
.sami.php Normal file
View 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,
));