#209 Start migration logic
This commit is contained in:
parent
f056e83b40
commit
6be1d32a54
@ -1,5 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
define('IN_SCRIPT', 1);
|
||||||
require(HESK_PATH . 'hesk_settings.inc.php');
|
require(HESK_PATH . 'hesk_settings.inc.php');
|
||||||
|
require(HESK_PATH . 'inc/common.inc.php');
|
||||||
|
echo $hesklang['yes'];
|
||||||
|
|
||||||
function executeQuery($sql) {
|
function executeQuery($sql) {
|
||||||
global $hesk_last_query;
|
global $hesk_last_query;
|
||||||
@ -578,6 +581,16 @@ function execute240Scripts() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function initializeXrefTable() {
|
||||||
|
global $hesk_settings, $hesklang;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* TODO:
|
||||||
|
* 1. Get each key from the DB
|
||||||
|
* 2. For each language, insert a xref record for the key
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
function execute240FileUpdate() {
|
function execute240FileUpdate() {
|
||||||
$file = file_get_contents(HESK_PATH . 'modsForHesk_settings.inc.php');
|
$file = file_get_contents(HESK_PATH . 'modsForHesk_settings.inc.php');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user