First impressions of the forum module’s directory structure - acli/ATutor GitHub Wiki

I have just finished setting up my “new forum” directory by making a straight copy of the forum module. Knowing that I will have some paths to change, I did a grep and here are my first impressions:

Basically, paths to the forum module is hard-coded everywhere. And by hard-coded I do mean hard-coded, _standard and all. You cannot move ATutor modules to a different directory.

I cannot imagine why AT_INSTALLER_INCLUDE_PATH and AT_INCLUDE_PATH are meticulously define’d but mods/_standard/forum is not. In fact not even mods/_standard or even mods is in a constant or a function.

I’m going to wade through this swamp and see if I can find a way to factor out all these hard-coded paths.

⚠️ **GitHub.com Fallback** ⚠️