Quote:
Originally Posted by KliPPy
The optional path argument lets you set where you want it to reside in your project, but by default it will reside in /submodule-name (or /cromchat in your case), but I guess for your case you'd want this:
Code:
git submodule add https://github.com/OciXCrom/cromchat scripting/cromchat
and in your crx_chatmanager.sma you can
PHP Code:
#include "cromchat/cromchat.inc"
|
I must admit that I haven't been playing around much with submodules, but didn't you mean:
Code:
git submodule add https://github.com/OciXCrom/cromchat scripting/include/cromchat
Otherwise I believe the path to the cromchat.inc file @ #include will be a little bit incorrect?
?
__________________