|
@ -50,7 +50,9 @@ add_action('admin_menu', fn () => add_submenu_page( |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if ($_SERVER['REQUEST_METHOD'] == 'POST') { |
|
|
if ($_SERVER['REQUEST_METHOD'] == 'POST') { |
|
|
$logger = new Logger(); |
|
|
|
|
|
|
|
|
$loggerConfig = include __DIR__ . '/config/logger.php'; |
|
|
|
|
|
|
|
|
|
|
|
$logger = new Logger($loggerConfig['log_type']); |
|
|
|
|
|
|
|
|
echo '<pre>'; |
|
|
echo '<pre>'; |
|
|
(new Actions\Convert())->run(); |
|
|
(new Actions\Convert())->run(); |
|
|