From ea7ac3b83e4ad72476162cc2a9a08c4d4a7890e9 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Mon, 26 Dec 2022 21:27:42 +0100 Subject: [PATCH] cosmetic --- _config.php | 2 +- _install.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;