FEATURE: make installation working again

This commit is contained in:
Michal Kváček
2016-09-20 23:06:42 +02:00
parent 5f8dab0068
commit 67cd7fb36f
9 changed files with 793 additions and 389 deletions
+10
View File
@@ -3,6 +3,7 @@ namespace Templates\Jednostrankovka;
use App\Http\Requests\Request;
use App\Models\Content;
use Illuminate\Support\Facades\Artisan;
use Templates\Base\OnePage\Handlers\OnePage;
class Handler extends OnePage
@@ -37,6 +38,15 @@ class Handler extends OnePage
{
}
public static function install()
{
try {
Artisan::call('install-module', ['name' => 'StaticPages']);
} catch (\Exception $e) {
//
}
}
/**
* Get list of registered templates and supported modules.
*