From c98d1dda26c2a92ff89d0b2992410456e00e29c3 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 19 Mar 2017 19:51:26 -0400 Subject: [PATCH] Store sami configuration for others to use. --- .gitignore | 3 +-- .sami.php | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .sami.php 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, +));