fixing issue of Custom Case List not showed, and some translation issues

This commit is contained in:
Fernando Ontiveros
2025-08-13 22:47:29 -04:00
parent 790ef2fca2
commit 6c857e9e77
5 changed files with 26 additions and 26 deletions

View File

@@ -23,5 +23,5 @@ return [
| directory. However, as usual, you are free to change this value.
|
*/
'compiled' => realpath(dirname(__DIR__) . '/' . 'bootstrap/cache/views')
'compiled' => base_path("shared")
];

View File

@@ -534,6 +534,7 @@ class Bootstrap
// if the default translations table doesn't exist we can't proceed
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;
}
global $translation;

View File

@@ -1737,20 +1737,21 @@ class System
{
//default values
$result = [
'pathData' => getcwd() . '/shared',
'pathCompiled' => getcwd() . '/shared/compiled',
'pathData' => base_path('shared'),
'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)) {
$script = "require_once '{$pathsInstalled}';"
. "return ["
. "'pathData' => PATH_DATA,"
. "'pathCompiled' => PATH_C,"
. "'hashInstallation' => HASH_INSTALLATION,"
. "'systemHash' => SYSTEM_HASH,"
. "];";
$result = eval($script);
# $script = "require_once '{$pathsInstalled}';"
# . "return ["
# . "'pathData' => PATH_DATA,"
# . "'pathCompiled' => PATH_C,"
# . "'hashInstallation' => HASH_INSTALLATION,"
# . "'systemHash' => SYSTEM_HASH,"
# . "];";
# $result = eval($script);
# print $result;
}
return (object) $result;
}

View File

@@ -35,4 +35,3 @@
<script type="text/javascript">
try {literal}{{/literal} dynaformSetFocus();}catch(e){literal}{{/literal}}
</script>

View File

@@ -32,4 +32,3 @@
{$form.JS}
</script>
</form>