mirror of https://gitee.com/karson/fastadmin.git
parent
95c08fb8bd
commit
7413cb3a6a
|
|
@ -88,7 +88,7 @@ class Api extends Command
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ($files as $name => $file) {
|
foreach ($files as $name => $file) {
|
||||||
if (!$file->isDir()) {
|
if (!$file->isDir() && $file->getExtension() == 'php') {
|
||||||
$filePath = $file->getRealPath();
|
$filePath = $file->getRealPath();
|
||||||
$classes[] = $this->get_class_from_file($filePath);
|
$classes[] = $this->get_class_from_file($filePath);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
"bootstrap": "^3.3.7",
|
"bootstrap": "^3.3.7",
|
||||||
"font-awesome": "^4.6.1",
|
"font-awesome": "^4.6.1",
|
||||||
"bootstrap-table": "~1.11.0",
|
"bootstrap-table": "~1.11.0",
|
||||||
"layer": "^3.0",
|
|
||||||
"jstree": "~3.3.2",
|
"jstree": "~3.3.2",
|
||||||
"moment": "~2.15.2",
|
"moment": "~2.15.2",
|
||||||
"plupload": "~2.2.0",
|
"plupload": "~2.2.0",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue