diff --git a/_config.php b/_config.php index dc664a7..c7aad71 100644 --- a/_config.php +++ b/_config.php @@ -27,7 +27,7 @@ if (!empty($_POST['save'])) { ); dcCore::app()->adminurl->redirect( 'admin.plugins', - ['module' => 'translater', 'conf' => 1, 'redir' => dcCore::app()->admin->list->getRedir()] + ['module' => 'translater', 'conf' => 1, 'redir' => dcCore::app()->admin->__get('list')->getRedir()] ); } catch (Exception $e) { dcCore::app()->error->add($e->getMessage()); diff --git a/_install.php b/_install.php index 953bef1..c46a21b 100644 --- a/_install.php +++ b/_install.php @@ -16,7 +16,7 @@ if (!defined('DC_CONTEXT_ADMIN')) { try { if (!dcCore::app()->newVersion( - basename(__DIR__), + basename(__DIR__), dcCore::app()->plugins->moduleInfo(basename(__DIR__), 'version') )) { return null;