You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mods-for-HESK-Netsyms/install/ajax/get-migration-ajax.php

12 lines
365 B
PHP

<?php
define('IN_SCRIPT', 1);
define('HESK_PATH', '../../');
require(HESK_PATH . 'hesk_settings.inc.php');
require(HESK_PATH . 'inc/common.inc.php');
require(HESK_PATH . 'install/migrations/core.php');
hesk_load_database_functions();
$allMigrations = getAllMigrations();
end($allMigrations);
print json_encode(array("lastMigrationNumber" => key($allMigrations)));