Skip to content

Commit

Permalink
优化代码 (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft authored Dec 31, 2021
1 parent 50c57a5 commit 5c4f205
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
"ApiDocApp\\": "example/",
"Imi\\ApiDoc\\Test\\": "tests/",
"Imi\\Server\\ApiDoc\\": "src/imi/Server/ApiDoc/"
}
},
"files": [
"../../../vendor/autoload.php"
]
},
"scripts": {},
"extra": {
Expand Down
3 changes: 1 addition & 2 deletions example/bin/imi
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env php
<?php
require_once dirname(__DIR__, 2) . '/vendor/' . 'autoload.php';
require_once dirname(__DIR__, 5) . '/vendor/' . 'autoload.php';
require_once dirname(__DIR__, 2) . '/vendor/autoload.php';

\Imi\App::setDebug(true);

Expand Down

0 comments on commit 5c4f205

Please sign in to comment.