FEATURE: make installation working again
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user