diff --git a/README.md b/README.md
index 3999df0..5debfb1 100644
--- a/README.md
+++ b/README.md
@@ -27,9 +27,15 @@
5.8 | >=2.2 |
6 | >=2.3 |
7 | >=2.3 |
+8 | >=2.4 |
Change Logs
+Version v2.4
+
+ - Data table version update
+ - Seed command bug fix
+
Version v2.2
- Data table version update
diff --git a/composer.json b/composer.json
index 58057ef..c140edc 100644
--- a/composer.json
+++ b/composer.json
@@ -17,9 +17,9 @@
"files" : ["src/Helper.php"],
"minimum-stability": "stable",
"require": {
- "laravelcollective/html": "~6.0",
- "yajra/laravel-datatables-oracle": "^9.10",
- "unisharp/laravel-filemanager": "^2.1.0"
+ "laravelcollective/html": "~6.2.1",
+ "yajra/laravel-datatables-oracle": "^9.15.2",
+ "unisharp/laravel-filemanager": "^2.2.0"
},
"require-dev": {
diff --git a/src/Commands/Seed.php b/src/Commands/Seed.php
index f16e5a7..12c481d 100644
--- a/src/Commands/Seed.php
+++ b/src/Commands/Seed.php
@@ -51,7 +51,7 @@ public function handle()
{
if($class) {
$this->call('db:seed', [
- '--class' => Cms::getPath() . '\\' . $module . 'Database\\seeds\\'.$class
+ '--class' => Cms::getPath() . '\\' . $module . '\\Database\\seeds\\'.$class
]);
}
else
@@ -59,9 +59,9 @@ public function handle()
$module_path = base_path().'/' . Cms::getPath() . '/' . Cms::getModulesPath() . '/'.Cms::getCurrentTheme().'/' . $module . '/Database/seeds';
$files = $this->getAllFileInFolder($module_path);
foreach ($files as $file) {
- echo $class_name = preg_replace('/\..+$/', '', $file);
+ $class_name = preg_replace('/\..+$/', '', $file);
$this->call('db:seed', [
- '--class' => Cms::getPath() . '\\' . $module . '/Database/seeds/'.$class_name
+ '--class' => Cms::getPath() . '\\' . $module . '\\Database\\seeds\\'.$class_name
]);
}