Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/public/main/install/get_migration_status.php

17 lines
508 B

<?php
/* For licensing terms, see /license.txt */
ini_set('memory_limit', '1024M');
require_once __DIR__.'/../../../vendor/autoload.php';
require_once api_get_path(SYS_CODE_PATH).'install/install.lib.php';
$result = checkMigrationStatus();
// Prepare the response array
$response = [
'progress_percentage' => $result['progress_percentage'],
'current_migration' => $result['current_migration'],
];
// Send the response as JSON
header('Content-Type: application/json');
echo json_encode($response);