https://gitlab.synchro.net/sbbs/sbbs/-/commit/f1606a940708ca56e3e2381c
Modified Files:
webv4/lib/pages.js
Log Message:
Allow for a mods/pages directory.
If a page is found in both pages/ and mods/pages/, the
version from mods/pages/ will be used.
When matching files, the numeric ordering prefix is ignored;
this means that eg. mods/pages/666-home.xjs will override
pages/000-home.xjs.
If a page is found in mods/pages/ which does not have a
counterpart in pages/, it will be listed and available. (This
makes mods/pages/ a good place for you to put custom content.)
If a subdirectory with the same name is found in both pages/ and
mods/pages/, the contents of those subdirectories will be handled
according to the above rules.
If you're using webctrl.ini, you'll need to put a copy in the
same subdirectory of mods where your custom page lives, with an
entry relevant to that file. (I think.)
Still needs a bunch of testing.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net