fix
This commit is contained in:
parent
ca34958baf
commit
f6bd9a255f
|
@ -30,12 +30,12 @@ class Setup
|
|||
|
||||
$tplPath = $rootPath . implode(DIRECTORY_SEPARATOR, ['src', 'admin', 'view', 'tpl', '']);
|
||||
|
||||
config('dispatch_success_tmpl', $tplPath . 'dispatch_jump.tpl');
|
||||
config('dispatch_error_tmpl', $tplPath . 'dispatch_jump.tpl');
|
||||
|
||||
$config = [];
|
||||
|
||||
if (Module::isInstalled()) {
|
||||
config('dispatch_success_tmpl', $tplPath . 'dispatch_jump.tpl');
|
||||
config('dispatch_error_tmpl', $tplPath . 'dispatch_jump.tpl');
|
||||
|
||||
$config = $instance->getConfig();
|
||||
} else {
|
||||
$config = $instance->defaultConfig();
|
||||
|
|
Loading…
Reference in New Issue