diff --git a/.gitignore b/.gitignore index c3209c0d6..2984e0e02 100644 --- a/.gitignore +++ b/.gitignore @@ -12,5 +12,4 @@ _ide_helper_models.php _ide_helper.php sami.phar -sami.config.php -/sami +/.sami diff --git a/.sami.php b/.sami.php new file mode 100644 index 000000000..da4c4658f --- /dev/null +++ b/.sami.php @@ -0,0 +1,16 @@ +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, +));