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.
|
||||
|
|
||||
*/
|
||||
'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 (!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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -35,4 +35,3 @@
|
||||
<script type="text/javascript">
|
||||
try {literal}{{/literal} dynaformSetFocus();}catch(e){literal}{{/literal}}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -32,4 +32,3 @@
|
||||
{$form.JS}
|
||||
</script>
|
||||
</form>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user