CI4 4.3.1 upgrade

- add missing files
- overwrite changed files
- merge code changes
- Matched .htaccess file in /public/ to CI4
- Corrected naming of Error language file to Errors
- Refactored references to Error language file
This commit is contained in:
objecttothis
2023-01-26 17:36:54 +04:00
committed by Steve Ireland
parent 4e7b114b19
commit 8c7f5c15ca
29 changed files with 201 additions and 204 deletions

View File

@@ -22,7 +22,7 @@ class Module extends Model
return lang($row->name_lang_key);
}
return lang('Error.unknown');
return lang('Errors.unknown');
}
public function get_module_desc(string $module_id): string //TODO: This method doesn't seem to be called in the code. Is it needed? Also, probably should change the name to get_module_description()
@@ -37,7 +37,7 @@ class Module extends Model
return lang($row->desc_lang_key);
}
return lang('Error.unknown');
return lang('Errors.unknown');
}
public function get_all_permissions(): ResultInterface