We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0312c97 commit c98d1ddCopy full SHA for c98d1dd
.gitignore
@@ -12,5 +12,4 @@ _ide_helper_models.php
12
_ide_helper.php
13
14
sami.phar
15
-sami.config.php
16
-/sami
+/.sami
.sami.php
@@ -0,0 +1,16 @@
1
+<?php
2
+
3
+use Sami\Sami;
4
+use Symfony\Component\Finder\Finder;
5
6
+$iterator = Finder::create()
7
+ ->files()
8
+ ->name('*.php')
9
+ ->in($dir = __DIR__ . '/app');
10
11
+return new Sami($iterator, array(
+ 'title' => 'Pterodactyl',
+ 'build_dir' => __DIR__ . '/.sami/build',
+ 'cache_dir' => __DIR__ . '/.sami/cache',
+ 'default_opened_level' => 2,
+));
0 commit comments