FEATURE: move static page handler into config
This commit is contained in:
@@ -48,7 +48,7 @@ class StaticPagesServiceProvider extends ServiceProvider
|
||||
*/
|
||||
protected function install()
|
||||
{
|
||||
$handler = '\\Modules\\StaticPages\\Handlers\\StaticPage';
|
||||
$handler = config('staticpages.handler');
|
||||
$installedModules = Modules::getWithTranslations();
|
||||
if (!isset($installedModules[$handler])) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user