Skip to content

E3-518: Cleaned up _DB/_TEMPLATES

Simon Rose requested to merge e3_518 into master

When require loads a module, it creates three variables:

  • module_DIR - absolute path to module, with trailing slash
  • module_DB - absolute path to .db files, no trailing slash
  • module_TEMPLATES - absolute path to .db files, no trailing slash. Duplicate of the above

This MR makes the three of these consistent and irredundant. It removes _TEMPLATES (which is used in exactly one space--ecmccfg---and that will be removed in a separate MR), and ensures that both _DB and _DIR have a trailing slash.

Merge request reports

Loading