mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-23 00:25:35 +08:00
update plugin docs and add some helper functions
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
└── test-app/
|
||||
├── main.php
|
||||
├── empty/
|
||||
└── zmplugin.json
|
||||
└── composer.json
|
||||
```
|
||||
|
||||
```php
|
||||
@@ -36,7 +36,7 @@ $result = \ZM\Store\FileSystem::scanDirFiles('/home/ab/test/', true, false);
|
||||
结果:
|
||||
[
|
||||
"/home/ab/test/test-app/main.php",
|
||||
"/home/ab/test/test-app/zmplugin.json"
|
||||
"/home/ab/test/test-app/composer.json"
|
||||
]
|
||||
*/
|
||||
$result2 = \ZM\Store\FileSystem::scanDirFiles('/home/ab/test/', false, true, true);
|
||||
|
||||
Reference in New Issue
Block a user