cosmetic
This commit is contained in:
parent
bf46401a05
commit
ea7ac3b83e
2 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue