Getting started on the AJAX portion
parent
5aeb90852b
commit
dbf9baca75
@ -0,0 +1,12 @@
|
||||
<?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)));
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
function getAllMigrations() {
|
||||
return array(
|
||||
1 => null
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue