====== mods directory ====== The ''mods'' directory is intended to contain MODified-stock or 3rd party (i.e. not from [[:dev:Git]]) JavaScript modules (''.js'' files) or Baja modules (''.bin'' with ''.src'') (or as of Synchronet v3.21, text/menu files) which will not be overwritten during Synchronet updates/upgrades. If a file exists in both the ''[[dir:exec]]'' directory and the ''mods'' directory, the version in the ''mods'' directory will be loaded and executed rather than the version in the ''exec'' directory. In Synchronet v3.21+, if a file exists in both the ''[[dir:text]]'' directory and the ''mods/text'' directory, the version in the ''mods/text'' directory will be displayed rather than the version in the ''text'' directory. Same is true of the ''[[dir:text]]/menu'' (and ''mods/text/menu'') directories. The path to the ''mods'' directory is configured in [[util:SCFG]]->System->Advanced Options. ===== Sub-directories ===== ==== load ==== The ''mods/load'' directory is intended to contain MODified stock JavaScript library files from the ''[[dir:exec]]/load'' directory. ===== See Also ===== * [[dir:|Directory structure]] * ''[[exec]]'' directory