fixing issue of Custom Case List not showed, and some translation issues
This commit is contained in:
@@ -23,5 +23,5 @@ return [
|
|||||||
| directory. However, as usual, you are free to change this value.
|
| directory. However, as usual, you are free to change this value.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
'compiled' => realpath(dirname(__DIR__) . '/' . 'bootstrap/cache/views')
|
'compiled' => base_path("shared")
|
||||||
];
|
];
|
||||||
@@ -534,6 +534,7 @@ class Bootstrap
|
|||||||
|
|
||||||
// if the default translations table doesn't exist we can't proceed
|
// if the default translations table doesn't exist we can't proceed
|
||||||
if (!is_file(PATH_LANGUAGECONT . 'translation.en')) {
|
if (!is_file(PATH_LANGUAGECONT . 'translation.en')) {
|
||||||
|
error_log("The default translations table doesn't exist we can't get the translation " . PATH_LANGUAGECONT );
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
global $translation;
|
global $translation;
|
||||||
|
|||||||
@@ -1737,20 +1737,21 @@ class System
|
|||||||
{
|
{
|
||||||
//default values
|
//default values
|
||||||
$result = [
|
$result = [
|
||||||
'pathData' => getcwd() . '/shared',
|
'pathData' => base_path('shared'),
|
||||||
'pathCompiled' => getcwd() . '/shared/compiled',
|
'pathCompiled' => base_path('shared/compiled'),
|
||||||
];
|
];
|
||||||
|
|
||||||
$pathsInstalled = getcwd() . "/workflow/engine/config/paths_installed.php";
|
$pathsInstalled = base_path("shared/config/paths_installed.php");
|
||||||
if (file_exists($pathsInstalled)) {
|
if (file_exists($pathsInstalled)) {
|
||||||
$script = "require_once '{$pathsInstalled}';"
|
# $script = "require_once '{$pathsInstalled}';"
|
||||||
. "return ["
|
# . "return ["
|
||||||
. "'pathData' => PATH_DATA,"
|
# . "'pathData' => PATH_DATA,"
|
||||||
. "'pathCompiled' => PATH_C,"
|
# . "'pathCompiled' => PATH_C,"
|
||||||
. "'hashInstallation' => HASH_INSTALLATION,"
|
# . "'hashInstallation' => HASH_INSTALLATION,"
|
||||||
. "'systemHash' => SYSTEM_HASH,"
|
# . "'systemHash' => SYSTEM_HASH,"
|
||||||
. "];";
|
# . "];";
|
||||||
$result = eval($script);
|
# $result = eval($script);
|
||||||
|
# print $result;
|
||||||
}
|
}
|
||||||
return (object) $result;
|
return (object) $result;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,4 +35,3 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
try {literal}{{/literal} dynaformSetFocus();}catch(e){literal}{{/literal}}
|
try {literal}{{/literal} dynaformSetFocus();}catch(e){literal}{{/literal}}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -32,4 +32,3 @@
|
|||||||
{$form.JS}
|
{$form.JS}
|
||||||
</script>
|
</script>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user