forked from Nookure/NookTheme
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store sami configuration for others to use.
- Loading branch information
1 parent
0312c97
commit c98d1dd
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,5 +12,4 @@ _ide_helper_models.php | |
_ide_helper.php | ||
|
||
sami.phar | ||
sami.config.php | ||
/sami | ||
/.sami |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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, | ||
)); |